| 数据搜索系统,热门电子元器件搜索 |
|
T80C5112-RKSIL 数据表(PDF) 46 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
T80C5112-RKSIL 数据表(HTML) 46 Page - ATMEL Corporation |
|
46 / 97 page ![]() 46 Rev. B - November 10, 2000 Preliminary T80C5112 Figure 21. SPI Interrupt Requests Generation 12.4.5. Registers There are three registers in the module that provide control, status and data storage functions. These registers are describes in the following paragraphs. 12.4.5.1. Serial Peripheral CONtrol register (SPCON) The Serial Peripheral Control Register does the following: · Selects one of the Master clock rates, · Configure the SPI module as Master or Slave, · Selects serial clock polarity and phase, · Enables the SPI module, · Frees the SS pin for a general purpose Table 23 describes this register and explains the use of each bit: Table 23. Serial Peripheral Control Register 7 6 5 4 3 2 1 0 SPR2 SPEN SSDIS MSTR CPOL CPHA SPR1 SPR0 Bit Number Bit Mnemonic R/W Mode Description 7 SPR2 RW Serial Peripheral Rate 2 Bit with SPR1 and SPR0 define the clock rate 6 SPEN RW Serial Peripheral Enable Clear to disable the SPI interface Set to enable the SPI interface 5 SSDIS RW SS Disable Clear to enable SS# in both Master and Slave modes Set to disable SS# in both Master and Slave modes. In Slave mode, this bit has no effect if CPHA = Õ0Õ 4 MSTR RW Serial Peripheral Master Clear to configure the SPI as a Slave Set to configure the SPI as a Master 3 CPOL RW Clock Polarity Clear to have the SCK set to Õ0Õ in idle state Set to have the SCK set to Õ1Õ in idle low 2 CPHA RW Clock Phase Clear to have the data sampled when the SPSCK leaves the idle state (see CPOL) Set to have the data sampled when the SPSCK returns to idle state (see CPOL) SSDIS MODF CPU Interrupt Request SPI Receiver/error CPU Interrupt Request SPI Transmitter SPI CPU Interrupt Request SPIF |
|
链接网址 |
| 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 |