20 I
2
C
250
EPSON
S1C17001 TECHNICAL MANUAL
20.2 I
2
C Input/Output Pins
Table 20.2.1 lists the I
2
C pins.
Table 20.2.1: I
2
C pin list
Pin name
I/O
Qty
Function
SDA (P14)
I/O
1
I
2
C data input/output pin
Inputs serial data from the I
2
C bus.
Also outputs serial data to the I
2
C bus.
SCL (P15)
I/O
1
I
2
C clock input/output pin
Inputs SCL line status.
Also outputs a serial clock.
The I
2
C input/output pins (SDA, SCL) are shared with general purpose input/output port pins (P14, P15) and are
initially set as general purpose input/output port pins. The function must be switched using the P1_PMUX register
setting to use general purpose input/output port pins as I
2
C input/output pins. Switch the pins to I
2
C mode by set-
ting the following control bits to 1.
P14
→
SDA
∗
P14MUX
: P14 Port Function Select Bit in the P1 Port Function Select (P1_PMUX) Register (D4/0x52a1)
P15
→
SCL
∗
P15MUX
: P15 Port Function Select Bit in the P1 Port Function Select (P1_PMUX) Register (D5/0x52a1)
For detailed information on pin function switching, refer to “10.2 Input/Output Pin Function Selection (Port
MUX).”
Содержание S1C17001
Страница 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Страница 31: ...3 MEMORY MAP AND BUS CONTROL 22 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 185: ...14 8 BIT OSC1 TIMER T8OSC1 176 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 297: ...21 REMOTE CONTROLLER REMC 288 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 303: ...22 ON CHIP DEBUGGER DBG 294 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...