| Electronic Components Datasheet Search |
|
AT89C5132-ROTIL Datasheet(PDF) 129 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89C5132-ROTIL Datasheet(HTML) 129 Page - ATMEL Corporation |
|
129 / 181 page ![]() 129 4173D–USB–02/06 AT89C5132 Figure 19-12. Slave SPI Interrupt Policy Flows 19.4 Registers Table 98. SPCON Register SPCON (S:C3h) – SPI Control Register SPI Initialization Interrupt Policy Enable Interrupt ESPI =1 SPI Interrupt Service Routine Select Slave Mode MSTR = 0 Select Format Program CPOL & CPHA Enable SPI SPEN = 1 Get Status Read SPSTA Prepare New Transfer Write Data in SPDAT Get Data Received Read SPDAT Prepare Transfer Write Data in SPDAT 765 4321 0 SPR2 SPEN SSDIS MSTR CPOL CPHA SPR1 SPR0 Bit Number Bit Mnemonic Description 7 SPR2 SPI Rate Bit 2 Refer to Table 97 for bit rate description. 6 SPEN SPI Enable Bit Set to enable the SPI interface. Clear to disable the SPI interface. 5 SSDIS Slave Select Input Disable Bit Set to disable SS in both master and slave modes. In slave mode this bit has no effect if CPHA = 0. Clear to enable SS in both master and slave modes. 4MSTR Master Mode Select Set to select the master mode. Clear to select the slave mode. 3CPOL SPI Clock Polarity Bit(1) Set to have the clock output set to high level in idle state. Clear to have the clock output set to low level in idle state. 2CPHA SPI Clock Phase Bit Set to have the data sampled when the clock returns to idle state (see CPOL). Clear to have the data sampled when the clock leaves the idle state (see CPOL). |
|
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 |