IA186ES/IA188ES
Data Sheet
8-Bit/16-Bit Microcontrollers
November 15, 2011
The 32 PIO pins initialize to either 00b or 01b as shown in Tables 44 and 45. The value of the
PDATA registers is undefined at reset.
Table 44. PDATA 0
15 14 13 12 11 10
9
8
7
6
6
5
5
4
4
3
3
2
2
1
1
0
0
PDATA (15–0)
Table 45. PDATA 1
15 14 13 12 11 10
9
8
7
PDATA (31–16)
Bits [15–0]—PDATA [15–0] PIO Data 0 Bits → This register contains the values of the
bits that are either driven on, or received from, the corresponding PIO pins. Depending
on its configuration each pin is either an output or an input. The values of these bits
correspond to those in the PIO direction registers and PIO Mode registers.
Bits [15–0]—PDATA [31–16] PIO Data 1 Bits → This register contains the values of the
bits that are either driven on, or received from, the corresponding PIO pins. Depending
on its configuration each pin is either an output or an input. The values of these bits
correspond to those in the PIO direction registers and PIO Mode registers
The PIO pins may be operated as open-drain outputs by:
– Maintaining the data constant in the appropriate bit of the PIO data register.
– Writing the value of the data bit into the respective bit position of the PIO Direction
register, so that the output is either 0 or disabled depending on the value of the data
bit.
5.1.28 PDIR1 (078h) and PDIR0 (072h)
PIO DIRection Registers. Each PIO pin is configured as an input or an output by the
corresponding bit in the PIO direction register (see Table 46).
Table 46. PIO Mode and PIO Direction Settings
PIO Mode PIO Direction
Pin function
Normal operation
PIO input with pullup/pulldown
PIO output
0
0
1
1
0
1
0
1
PIO input without pullup/pulldown
®
IA211050902-19
UNCONTROLLED WHEN PRINTED OR COPIED
http://www.innovasic.com
Customer Support:
Page 89 of 154
1-888-824-4184