![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 169](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833169.webp)
PIC16(L)F1508/9
DS40001609E-page 170
2011-2015 Microchip Technology Inc.
The I
2
C interface supports the following modes and
features:
• Master mode
• Slave mode
• Byte NACKing (Slave mode)
• Limited Multi-master support
• 7-bit and 10-bit addressing
• Start and Stop interrupts
• Interrupt masking
• Clock stretching
• Bus collision detection
• General call address matching
• Address masking
• Address Hold and Data Hold modes
• Selectable SDAx hold times
is a block diagram of the I
2
C interface mod-
ule in Master mode.
is a diagram of the I
2
C
interface module in Slave mode.
FIGURE 21-2:
MSSPX BLOCK DIAGRAM (I
2
C™ MASTER MODE)
Note 1:
In devices with more than one MSSP
module, it is very important to pay close
attention to SSPxCONx register names.
SSPxCON1 and SSPxCON2 registers
control different operational aspects of
the same module, while SSPxCON1 and
SSP2CON1 control the same features for
two different modules.
2:
Throughout this section, generic refer-
ences to an MSSPx module in any of its
operating modes may be interpreted as
being equally applicable to MSSPx or
MSSP2. Register names, module I/O sig-
nals, and bit names may use the generic
designator ‘x’ to indicate the use of a
numeral to distinguish a particular mod-
ule when required.
Read
Write
SSPxBUF
8
8
SSPxSR
8
Internal data
bus
Start bit, Stop bit,
Acknowledge
Generate
(SSPxCON2)
Baud Rate
Generator
(SSPxADD)
Shift clock
Start bit detected
Stop bit detected
Write collsion detect
Clock arbitration
State counter for end
of XMIT/RCV
Address match detect
Clock
C
ntl
SCLx in
Bus collision
Receive
E
nable
(RCEN)
MSb
LSb
SDAx
SCLx
SDAx in
Clock
a
rbitrate/BCOL
d
etect
(Hold
off
c
lock
source)
Set/Reset: S, P, SSPxSTAT,
WCOL, SSPOV
Reset SEN, PEN (SSPxCON2)
Set SSPxIF, BCLxIF
4
[SSPM <3:0>]
Rev. 10-000077A
7/30/2013
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...