| 전자부품 데이터시트 검색엔진 |
|
ADE5166 데이터시트(PDF) 137 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE5166 데이터시트(HTML) 137 Page - Analog Devices |
|
137 / 148 page ![]() Preliminary Technical Data ADE5166/ADE5169/ADE5566/ADE5569 Rev. PrB | Page 137 of 148 SPI INTERRUPT AND STATUS FLAGS The SPI interface has several status flags that indicate the status of the double-buffered receive and transmit registers. Figure 90 shows when the status and interrupt flags are raised. The transmit interrupt occurs when the transmit shift register is loaded with the data in the SPI/I2C transmit buffer SFR (SPI2CTx, 0x9A) register. If the SPI master is in transmit operating mode, and the SPI/I2C transmit buffer SFR (SPI2CTx, 0x9A) register has not been written with new data by the beginning of the next byte transfer, the transmit operation stops. When a new byte of data is received in the SPI/I2C receive buffer SFR (SPI2CRx, 0x9B) register, the SPI receive interrupt flag is raised. If the data in the SPI/I2C receive buffer SFR (SPI2CRx, 0x9B) is not read before new data is ready to be loaded into the SPI/I2C receive buffer SFR (SPI2CRx, 0x9B), an overflow condition has occurred. This overflow condition, indicated by the SPIRxOF flag, forces the new data to be discarded or overwritten if the RxOFW bit is set. SPITx TRANSMIT SHIFT REGISTER SPITxIRQ = 1 SPITx (EMPTY) TRANSMIT SHIFT REGISTER STOPS TRANSFER IF TIMODE = 1 SPIRx RECEIVE SHIFT REGISTER SPIRxIRQ = 1 SPIRx (FULL) RECEIVE SHIFT REGISTER SPIRxOF = 1 Figure 90. SPI Receive and Transmit Interrupt and Status Flags SCLK (SPICPOL = 0) MISO SCLK (SPICPOL = 1) MOSI SPIRx AND SPITx FLAGS WITH INTMOD = 1 SPIRx AND SPITx FLAGS WITH INTMOD = 0 SS SPIRx AND SPITx FLAGS WITH INTMOD = 0 SPICPHA = 1 MSB BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 LSB ? MSB BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 LSB ? MSB BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 LSB ? MSB BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 LSB ? MISO MOSI SPIRx AND SPITx FLAGS WITH INTMOD = 1 SPICPHA = 0 Figure 91. SPI Timing Configurations |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |