| 数据搜索系统,热门电子元器件搜索 |
|
INTEDG 数据表(PDF) 247 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
INTEDG 数据表(HTML) 247 Page - Microchip Technology |
|
247 / 478 page ![]() 2010-2012 Microchip Technology Inc. DS41414D-page 247 PIC16(L)F1946/47 FIGURE 24-4: SPI MASTER AND MULTIPLE SLAVE CONNECTION 24.2.1 SPI MODE REGISTERS The MSSPx module has five registers for SPI mode operation. These are: • MSSPx STATUS register (SSPxSTAT) • MSSPx Control Register 1 (SSPxCON1) • MSSPx Control Register 3 (SSPxCON3) • MSSPx Data Buffer register (SSPxBUF) • MSSPx Address register (SSPxADD) • MSSPx Shift register (SSPxSR) (Not directly accessible) SSPxCON1 and SSPxSTAT are the control and STATUS registers in SPI mode operation. The SSPxCON1 register is readable and writable. The lower 6 bits of the SSPxSTAT are read-only. The upper two bits of the SSPxSTAT are read/write. In SPI master mode, SSPxADD can be loaded with a value used in the Baud Rate Generator. More informa- tion on the Baud Rate Generator is available in Section 24.7 “Baud Rate Generator” . SSPxSR is the shift register used for shifting data in and out. SSPxBUF provides indirect access to the SSPxSR register. SSPxBUF is the buffer register to which data bytes are written, and from which data bytes are read. In receive operations, SSPxSR and SSPxBUF together create a buffered receiver. When SSPxSR receives a complete byte, it is transferred to SSPxBUF and the SSPxIF interrupt is set. During transmission, the SSPxBUF is not buffered. A write to SSPxBUF will write to both SSPxBUF and SSPxSR. SPI Master SCKx SDOx SDIx General I/O General I/O General I/O SCKx SDIx SDOx SSx SPI Slave #1 SCKx SDIx SDOx SSx SPI Slave #2 SCKx SDIx SDOx SSx SPI Slave #3 |
|
链接网址 |
| 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 |