| поискавой системы для электроныых деталей |
|
PIC16F882-I датащи(PDF) 204 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F882-I датащи(HTML) 204 Page - Microchip Technology |
|
204 / 328 page ![]() PIC16F882/883/884/886/887 DS41291F-page 202 © 2009 Microchip Technology Inc. FIGURE 13-18: STOP CONDITION RECEIVE OR TRANSMIT MODE 13.4.12 CLOCK ARBITRATION Clock arbitration occurs when the master, during any receive, transmit or Repeated Start/Stop condition, de- asserts the SCL pin (SCL allowed to float high). When the SCL pin is allowed to float high, the Baud Rate Gen- erator (BRG) is suspended from counting until the SCL pin is actually sampled high. When the SCL pin is sam- pled high, the Baud Rate Generator is reloaded with the contents of SSPADD<6:0> and begins counting. This ensures that the SCL high time will always be at least one BRG rollover count, in the event that the clock is held low by an external device (Figure 13-19). 13.4.13 SLEEP OPERATION While in Sleep mode, the I2C module can receive addresses or data, and when an address match or complete byte transfer occurs, wake the processor from Sleep (if the MSSP interrupt is enabled). 13.4.14 EFFECT OF A RESET A Reset disables the MSSP module and terminates the current transfer. FIGURE 13-19: CLOCK ARBITRATION TIMING IN MASTER TRANSMIT MODE SCL SDA SDA asserted low before rising edge of clock Write to SSPCON2 Set PEN Falling edge of SCL = 1 for TBRG, followed by SDA = 1 for TBRG 9th clock SCL brought high after TBRG Note: TBRG = one Baud Rate Generator period. TBRG TBRG after SDA sampled high, P bit (SSPSTAT) is set TBRG to set up Stop condition ACK P TBRG PEN bit (SSPCON2) is cleared by hardware and the SSPIF bit is set SCL SDA BRG overflow, Release SCL, If SCL = 1, load BRG with SSPADD<6:0>, and start count BRG overflow occurs, Release SCL, Slave device holds SCL low SCL = 1, BRG starts counting clock high interval SCL line sampled once every machine cycle (TOSC*4), Hold off BRG until SCL is sampled high TBRG TBRG TBRG to measure high time interval |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |