| 전자부품 데이터시트 검색엔진 |
|
PIC16F872/SP 데이터시트(PDF) 68 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F872/SP 데이터시트(HTML) 68 Page - Microchip Technology |
|
68 / 160 page ![]() PIC16F872 DS30221A-page 68 Preliminary © 1999 Microchip Technology Inc. i) The MSSP module shifts in the ACK bit from the slave device, and writes its value into the SSPCON2 register ( SSPCON2<6>). j) The MSSP module generates an interrupt at the end of the ninth clock cycle by setting the SSPIF bit. k) The user generates a STOP condition by setting the STOP enable bit PEN in SSPCON2. l) Interrupt is generated once the STOP condition is complete. 9.2.8 BAUD RATE GENERATOR In I2C Master mode, the reload value for the BRG is located in the lower 7 bits of the SSPADD register (Figure 9-10). When the BRG is loaded with this value, the BRG counts down to 0 and stops until another reload has TACKEN place. The BRG count is decre- mented twice per instruction cycle (TCY), on the Q2 and Q4 clock. In I2C Master mode, the BRG is reloaded automatically. If Clock Arbitration is taking place for instance, the BRG will be reloaded when the SCL pin is sampled high (Figure 9-11). FIGURE 9-10: BAUD RATE GENERATOR BLOCK DIAGRAM FIGURE 9-11: BAUD RATE GENERATOR TIMING WITH CLOCK ARBITRATION SSPM<3:0> BRG Down Counter CLKOUT FOSC/4 SSPADD<6:0> SSPM<3:0> SCL Reload Control Reload SDA SCL SCL deasserted but slave holds DX-1 DX BRG SCL is sampled high, reload takes place, and BRG starts its count. 03h 02h 01h 00h (hold off) 03h 02h reload BRG value SCL low (clock arbitration) SCL allowed to transition high BRG decrements (on Q2 and Q4 cycles) |
|
링크 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 |