| Electronic Components Datasheet Search |
|
PIC16F15213T-I/ST Datasheet(PDF) 293 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213T-I/ST Datasheet(HTML) 293 Page - Microchip Technology |
|
293 / 439 page ![]() 25.2.4.3 I2C Host Mode Reception Host mode reception (see Figure 25-31) is enabled by setting the Receive Enable (RCEN) bit. Important: The MSSP module must be in an Idle state before the RCEN bit is set or the RCEN bit will be disregarded. The Baud Rate Generator begins counting and on each rollover, the state of the SCL pin changes (high-to-low/ low-to-high) and data is shifted into the SSPxSR. After the falling edge of the eighth clock all the following events occur: • RCEN is automatically cleared by hardware. • The contents of the SSPxSR are loaded into the SSPxBUF. • The BF flag bit is set. • The SSPxIF flag bit is set. • The Baud Rate Generator is suspended from counting. • The SCL pin is held low. The MSSP is now in Idle state awaiting the next command. When the buffer is read by the CPU, the BF flag bit is automatically cleared. The Host can then send an Acknowledge sequence at the end of reception by setting the Acknowledge Sequence Enable (ACKEN) bit. 25.2.4.3.1 BF Status Flag In receive operation, the BF bit is set when an address or data byte is loaded into SSPxBUF from SSPSR. It is cleared when the SSPxBUF register is read. 25.2.4.3.2 SSPOV Status Flag In receive operation, the SSPOV bit is set when eight bits are received into SSPxSR while the BF flag bit is already set from a previous reception. 25.2.4.3.3 WCOL Status Flag If the user writes the SSPxBUF when a receive is already in progress (i.e., SSPxSR is still shifting in a data byte), the WCOL bit is set and the contents of the buffer are unchanged (the write does not occur). PIC16F15213/14/23/24/43/44 MSSP - Host Synchronous Serial Port Module © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 293 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |