| Electronic Components Datasheet Search |
|
P90CE201 Datasheet(PDF) 41 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P90CE201 Datasheet(HTML) 41 Page - NXP Semiconductors |
|
41 / 77 page ![]() August 1993 41 Philips Semiconductors Product specification 16-bit microcontroller P90CE201 8.2 I2C-bus interface registers In the following register descriptions “n” represents the I2C-bus serial interface number (1 or 2); its associated registers are identified using the same number. 8.2.1 SERIAL CONTROL REGISTER (SnCON) S1CON is located at address 8000 2007H; S2CON is located at address 8000 2017H. These registers have a default value of 00H. Table 30 Description of SnCON bits. SYMBOL BIT FUNCTION CR2 CR1 CR0 SnCON.7 SnCON.1 SnCON.0 Clock Rate. These three bits along with bit SYSCON2.12 (or SYSCON2.11) determine the serial clock frequency that is generated in the master mode of operation. The frequencies of 100 kHz and 400 kHz can be selected for the oscillators frequencies of 12, 16, 20 and 24 MHz, as shown in Table 31. ENS SnCON.6 Enable Serial I/O. When ENS = 0; the serial interface I/O is disabled and reset. When ENS = 1; the serial interface is enabled. STA SnCON.5 Start flag. When this bit is set in slave mode, the hardware checks the I2C-bus and generates a START condition if the bus is free or after the bus becomes free. If the device operates in Master Mode it will generate a repeated START condition. STO SnCON.4 Stop flag. If this bit is set in the master mode a STOP condition is generated. A STOP condition detected on the I2C-bus clears this bit. The STOP bit may also be set in Slave Mode in order to recover from an error condition. In this case no STOP condition is generated to the I2C-bus, but the hardware releases the SDA and SCL lines and switches to the not selected slave receiver mode. The STOP flag is cleared by the hardware. SI SnCON.3 Serial Interrupt flag. This flag is set, and an interrupt is generated, after any of the following events occur: - A START condition is generated in Master Mode - The own slave address has been received during AA = 1 - The general call address has been received while SnADR.0 = 1 and AA = 1 - A data byte has been received or transmitted in master mode - A data byte has been received or transmitted as selected slave - A STOP or START condition is received as selected slave receiver or transmitter. While the SI flag is set, SCL remains LOW and the serial transfer is suspended. SI must be reset by software. Fig.25 Serial Control Register (SnCON) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 CR2 ENS STA STO SI AA CR1 CR0 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |