| 전자부품 데이터시트 검색엔진 |
|
PIC16 데이터시트(PDF) 185 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16 데이터시트(HTML) 185 Page - Microchip Technology |
|
185 / 418 page ![]() 2011-2013 Microchip Technology Inc. DS40001609C-page 185 PIC16(L)F1508/9 FIGURE 21-4: SPI MASTER AND MULTIPLE SLAVE CONNECTION 21.2.1 SPI MODE REGISTERS The MSSP module has five registers for SPI mode operation. These are: • MSSP STATUS register (SSPxSTAT) • MSSP Control Register 1 (SSPxCON1) • MSSP Control Register 3 (SSPxCON3) • MSSP Data Buffer register (SSPxBUF) • MSSP Address register (SSPxADD) • MSSP 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 six 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 21.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. SCKx SCKx SCKx SCKx SDOx SDOx SDOx SDOx SDIx SDIx SDIx SDIx General I/O SPI Master SPI Slave #1 SPI Slave #2 SPI Slave #3 SSx SSx SSx General I/O General I/O Rev. 10-000079A 8/1/2013 |
|
링크 URL |
| 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 |