| 数据搜索系统,热门电子元器件搜索 |
|
AT89C5132-ROTIL 数据表(PDF) 126 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89C5132-ROTIL 数据表(HTML) 126 Page - ATMEL Corporation |
|
126 / 181 page ![]() 126 4173D–USB–02/06 AT89C5132 Figure 19-9. Master SPI Polling Policy Flows 19.3.5 Master Mode with Interrupt Policy Figure 19-10 shows the initialization phase and the transfer phase flows using the interrupt pol- icy. Using this flow prevents any overrun error occurrence. • The bit rate is selected according to Table 97. • The transfer format depends on the slave peripheral. • SS may be deasserted between transfers depending also on the slave peripheral. Reading SPSTA at the beginning of the ISR is mandatory for clearing the SPIF flag. Clear is effective when reading SPDAT. SPI Initialization Polling Policy Disable Interrupt SPIE = 0 SPI Transfer Polling Policy End Of Transfer? SPIF = 1? Select Master Mode MSTR = 1 Select Bit Rate program SPR2:0 Select Format program CPOL & CPHA Enable SPI SPEN = 1 Select Slave Pn.x = L Start Transfer Write Data in SPDAT Last Transfer? Get Data Received Read SPDAT Deselect Slave Pn.x = H |
|
链接网址 |
| 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 |