| 数据搜索系统,热门电子元器件搜索 |
|
AT89C5132-ROTIL 数据表(PDF) 127 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89C5132-ROTIL 数据表(HTML) 127 Page - ATMEL Corporation |
|
127 / 181 page ![]() 127 4173D–USB–02/06 AT89C5132 Figure 19-10. Master SPI Interrupt Policy Flows 19.3.6 Slave Mode with Polling Policy Figure 19-11 shows the initialization phase and the transfer phase flows using the polling policy. The transfer format depends on the master controller. SPIF flag is cleared when reading SPDAT (SPSTA has been read before by the “end of recep- tion” check). This policy provides the fastest effective transmission and is well adapted when communicating at high speed with other Microcontrollers. However, the procedure may be interrupted at any time by higher priority tasks. SPI Initialization Interrupt Policy Enable Interrupt ESPI =1 SPI Interrupt Service Routine Select Master Mode MSTR = 1 Select Bit Rate Program SPR2:0 Select Format Program CPOL & CPHA Enable SPI SPEN = 1 Read Status Read SPSTA Start New Transfer Write Data in SPDAT Last Transfer? Get Data Received Read SPDAT Disable Interrupt SPIE = 0 Select Slave Pn.x = L Start Transfer Write Data in 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 |