Datasheet

iii
4337K–USB–04/08
AT89C5130A/31A-M
19 Serial Peripheral Interface (SPI) ............................................................ 93
19.1 Features ..........................................................................................................93
19.2 Signal Description ............................................................................................93
19.3 Functional Description .....................................................................................95
20 Two Wire Interface (TWI) ..................................................................... 102
20.1 Description .....................................................................................................104
20.2 Notes .............................................................................................................107
20.3 Registers .......................................................................................................118
21 USB Controller ..................................................................................... 120
21.1 Description .....................................................................................................120
21.2 Configuration .................................................................................................122
21.3 Read/Write Data FIFO ...................................................................................124
21.4 Bulk/Interrupt Transactions ............................................................................125
21.5 Control Transactions .....................................................................................130
21.6 Isochronous Transactions .............................................................................131
21.7 Miscellaneous ................................................................................................132
21.8 Suspend/Resume Management ....................................................................133
21.9 Detach Simulation .........................................................................................135
21.10 USB Interrupt System ....................................................................................136
21.11 USB Registers ...............................................................................................139
22 Reset ..................................................................................................... 151
22.1 Introduction ....................................................................................................151
22.2 Reset Input ....................................................................................................151
22.3 Reset Output .................................................................................................151
23 Power Monitor ...................................................................................... 153
23.1 Description .....................................................................................................153
24 Power Management ............................................................................. 155
24.1 Idle Mode .......................................................................................................155
24.2 Power-down Mode .........................................................................................155
24.3 Registers .......................................................................................................157
25 Hardware Watchdog Timer .................................................................. 158
25.1 Using the WDT ..............................................................................................158
25.2 WDT During Power-down and Idle ................................................................159
26 Reduced EMI Mode .............................................................................. 160