C8051F120/1/2/3/4/5/6/7
6
Rev. 1.2
18.6.2.1.16-bit MOVX: EMI0CF[4:2] = ‘001’, ‘010’, or ‘011’................................210
18.6.2.2.8-bit MOVX without Bank Select: EMI0CF[4:2] = ‘001’ or ‘011’............211
18.6.2.3.8-bit MOVX with Bank Select: EMI0CF[4:2] = ‘010’...............................212
19. PORT INPUT/OUTPUT .....................................................................................................215
19.1.Ports 0 through 3 and the Priority Crossbar Decoder....................................................217
19.1.1. Crossbar Pin Assignment and Allocation ............................................................217
19.1.2. Configuring the Output Modes of the Port Pins ..................................................218
19.1.3. Configuring Port Pins as Digital Inputs...............................................................219
19.1.4. Weak Pull-ups......................................................................................................219
19.1.5. Configuring Port 1 Pins as Analog Inputs ...........................................................219
19.1.6. External Memory Interface Pin Assignments ......................................................220
19.1.7. Crossbar Pin Assignment Example......................................................................222
19.2.Ports 4 through 7 (C8051F120/2/4/6 only) ...................................................................231
19.2.1. Configuring Ports which are not Pinned Out.......................................................231
19.2.2. Configuring the Output Modes of the Port Pins ..................................................231
19.2.3. Configuring Port Pins as Digital Inputs...............................................................232
19.2.4. Weak Pull-ups......................................................................................................232
19.2.5. External Memory Interface..................................................................................232
20. SYSTEM MANAGEMENT BUS / I2C BUS (SMBUS0) .................................................237
20.1.Supporting Documents ..................................................................................................238
20.2.SMBus Protocol.............................................................................................................238
20.2.1. Arbitration............................................................................................................239
20.2.2. Clock Low Extension...........................................................................................239
20.2.3. SCL Low Timeout ...............................................................................................239
20.2.4. SCL High (SMBus Free) Timeout.......................................................................239
20.3.SMBus Transfer Modes.................................................................................................240
20.3.1. Master Transmitter Mode ....................................................................................240
20.3.2. Master Receiver Mode.........................................................................................240
20.3.3. Slave Transmitter Mode.......................................................................................241
20.3.4. Slave Receiver Mode ...........................................................................................241
20.4.SMBus Special Function Registers ...............................................................................242
20.4.1. Control Register...................................................................................................242
20.4.2. Clock Rate Register .............................................................................................244
20.4.3. Data Register........................................................................................................245
20.4.4. Address Register ..................................................................................................245
20.4.5. Status Register .....................................................................................................246
21. ENHANCED SERIAL PERIPHERAL INTERFACE (SPI0) .........................................249
21.1.Signal Descriptions........................................................................................................250
21.1.1. Master Out, Slave In (MOSI) ..............................................................................250
21.1.2. Master In, Slave Out (MISO) ..............................................................................250
21.1.3. Serial Clock (SCK) ..............................................................................................250
21.1.4. Slave Select (NSS)...............................................................................................250
21.2.SPI0 Master Mode Operation........................................................................................251
21.3.SPI0 Slave Mode Operation ..........................................................................................253
21.4.SPI0 Interrupt Sources...................................................................................................253
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...