| 数据搜索系统,热门电子元器件搜索 |
|
PIC16LC771 数据表(PDF) 91 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16LC771 数据表(HTML) 91 Page - Microchip Technology |
|
91 / 224 page ![]() 1999-2013 Microchip Technology Inc. Advance Information DS41120C-page 91 PIC16C717/770/771 9.2.14 ACKNOWLEDGE SEQUENCE TIMING An Acknowledge sequence is enabled by setting the Acknowledge sequence enable bit, ACKEN (SSPCON2<4>). When this bit is set, the SCL pin is pulled low and the contents of the Acknowledge data bit ACKDT (SSPCON2<5>) is presented on the SDA pin. If the user wishes to generate an Acknowledge (ACK), then the ACKDT bit should be cleared. Otherwise, the user should set the ACKDT bit (NACK) before starting an Acknowledge sequence. The baud rate generator is then loaded from SSPADD<6:0> and counts for one rollover period (TBRG). The SCL pin is then de-asserted (pulled high). When the SCL pin is sampled high (clock arbitration), the baud rate generator is reloaded and counts for another TBRG. At the completion of the TBRG period, the following events occur (see Figure 9-20): • The SCL pin is pulled low. • The ACKEN bit is automatically cleared. • The baud rate generator is turned off. • The MSSP module goes into IDLE mode. 9.2.14.1 WCOL STATUS FLAG If the user writes the SSPBUF when an Acknowledge sequence is in progress, the WCOL is set and the con- tents of the buffer are unchanged (the write doesn’t occur). FIGURE 9-20: ACKNOWLEDGE SEQUENCE WAVEFORM Note: TBRG = one baud rate generator period. SDA SCL SSPIF occurs at the Acknowledge sequence starts here, Write to SSPCON2 ACKEN automatically cleared Cleared in TBRG TBRG end of receive ACK 8 ACKEN = 1, ACKDT = 0 D0 9 SSPIF software SSPIF occurs at the end of Acknowledge sequence Cleared in software |
|
链接网址 |
| 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 |