| поискавой системы для электроныых деталей |
|
M16C/29 датащи(PDF) 224 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M16C/29 датащи(HTML) 224 Page - Renesas Technology Corp |
|
224 / 499 page ![]() 14. Serial I/O p u o r G 9 2 / C 6 1 M page 200 8 5 4 f o 7 0 0 2 , 0 3 .r a M 2 1 . 1 . v e R 2 1 1 0 - 1 0 1 0 B 9 0 J E R Table 14.13 I2C bus mode Functions Function I2C bus mode (SMD2 to SMD0 = 0102, IICM = 1) Clock synchronous serial I/O mode (SMD2 to SMD0 = 0012, IICM = 0) Factor of interrupt number 15 (1) (Refer to Fig.14.23) No acknowledgment detection (NACK) Rising edge of SCL2 9th bit Factor of interrupt number 16 (1) (Refer to Fig.14.23) Start condition detection or stop condition detection (Refer to Table 14.14) UART2 transmission output delay Functions of P70 pin Noise filter width Read RxD2 and SCL2 pin levels Factor of interrupt number 10 (1) (Refer to Fig.14.23) Acknowledgment detection (ACK) Rising edge of SCL2 9th bit Initial value of TxD2 and SDA2 outputs UART2 transmission Transmission started or completed (selected by U2IRS) UART2 reception When 8th bit received CKPOL = 0 (rising edge) CKPOL = 1 (falling edge) Not delayed TxD2 output RxD2 input CLK2 input or output selected 15ns Possible when the corresponding port direction bit = 0 CKPOL = 0 (H) CKPOL = 1 (L) Delayed SDA2 input/output SCL2 input/output (Cannot be used in I2C bus mode) Initial and end values of SCL2 H 200ns Always possible no matter how the corresponding port direction bit is set The value set in the port register before setting I2C bus mode (2) Timing for transferring data from the UART reception shift register to the U2RB register IICM2 = 0 (NACK/ACK interrupt) IICM2 = 1 (UART transmit/ receive interrupt) CKPH = 1 (Clock delay) CKPH = 1 (Clock delay) UART2 transmission Rising edge of SCL2 9th bit UART2 transmission Falling edge of SCL2 next to the 9th bit UART2 transmission Falling edge of SCL2 9th bit CKPOL = 0 (rising edge) CKPOL = 1 (falling edge) Rising edge of SCL2 9th bit Falling edge of SCL2 9th bit Falling and rising edges of SCL2 9th bit . . DMA1 factor (Refer to Fig. 14.23 ) UART2 reception Acknowledgment detection (ACK) UART2 reception Falling edge of SCL2 9th bit Store received data 1st to 8th bits are stored in bits bit 7 to 0 in the U2RB register 1st to 8th bits are stored in bits bit 7 to 0 in the U2RB register 1st to 7th bits are stored into the bit 6 to bit 0 in the U2RB register, with 8th bit stored in the bit 8 in the U2RB register L Read U2RB register Bit 6 to bit 0 as bit 7 to bit 1, and bit 8 as bit 0 (4) Read received data U2RB register status is read directly as is CKPH = 0 (No clock delay) CKPH = 0 (No clock delay) H L 1st to 8th bits are stored in U2RB register bit 7 to bit 0 (3) Functions of P71 pin Functions of P72 pin NOTES: 1. If the source or cause of any interrupt is changed, the IR bit in the interrupt control register for the changed interrupt may inadvertently be set to 1 (interrupt requested). (Refer to “Notes on interrupts” in Precautions.) If one of the bits shown below is changed, the interrupt source, the interrupt timing, etc. change. Therefore, always be sure to clear the IR bit to 0 (interrupt not requested) after changing those bits Bits SMD2 to the SMD0 in the U2MR register, the IICM bit in the U2SMR register, the IICM2 bit in the U2SMR2 register, the CKPH bit in the U2SMR3 register 2. Set the initial value of SDA2 output while bits SMD2 to SMD0 in the U2MR register is set to 0002 (serial I/O disabled). 3. Second data transfer to U2RB register (Rising edge of SCL2 9th bit) 4. First data transfer to U2RB register (Falling edge of SCL2 9th bit) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |