PIC16C773 Microchip Technology, PIC16C773 Datasheet - Page 82

no-image

PIC16C773

Manufacturer Part Number
PIC16C773
Description
28/40-Pin/ 8-Bit CMOS Microcontrollers w/ 12-Bit A/D
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C773-E/SS
Quantity:
7
Part Number:
PIC16C773-I/SO
Quantity:
11
Part Number:
PIC16C773-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16C773-I/SO
Quantity:
8 700
Part Number:
PIC16C773/JW
Manufacturer:
Microchip
Quantity:
6
Part Number:
PIC16C773/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C773/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C77X
8.2.12
Master mode reception is enabled by programming the
receive enable bit, RCEN (SSPCON2<3>).
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 SSPSR. After
the falling edge of the eighth clock, the receive enable
flag is automatically cleared, the contents of the
SSPSR are loaded into the SSPBUF, the BF flag is set,
the SSPIF is set, and the baud rate generator is sus-
pended from counting, holding SCL low. The SSP is
now in IDLE state, awaiting the next command. When
the buffer is read by the CPU, the BF flag is automati-
cally cleared. The user can then send an acknowledge
bit at the end of reception, by setting the acknowledge
sequence enable bit, AKEN (SSPCON2<4>).
DS30275A-page 82
Note:
I
2
C MASTER MODE RECEPTION
The SSP Module must be in
STATE
RCEN bit will be disregarded.
before the RCEN bit is set, or the
Advance Information
an IDLE
8.2.12.10 BF STATUS FLAG
In receive operation, BF is set when an address or data
byte is loaded into SSPBUF from SSPSR. It is cleared
when SSPBUF is read.
8.2.12.11 SSPOV STATUS FLAG
In receive operation, SSPOV is set when 8 bits are
received into the SSPSR, and the BF flag is already set
from a previous reception.
8.2.12.12 WCOL STATUS FLAG
If the user writes the SSPBUF when a receive is
already in progress (i.e. SSPSR is still shifting in a data
byte), then WCOL is set and the contents of the buffer
are unchanged (the write doesn’t occur).
1999 Microchip Technology Inc.

Related parts for PIC16C773