Pin n Control
Name:
PINCTRL
Offset:
0x10 + n*0x01 [n=0..7]
Reset:
0x00
Access:
-
Bit76543210
INVENPULLUPENISC[2:0]
AccessR/WR/WR/WR/WR/W
Reset00000

Bit 7 – INVEN: Inverted I/O Enable

Inverted I/O Enable

ValueDescription
0 I/O on pin n not inverted
1 I/O on pin n inverted

Bit 3 – PULLUPEN: Pullup Enable

Pullup Enable

ValueDescription
0 Pullup disabled for pin n
1 Pullup enabled for pin n

Bits 2:0 – ISC[2:0]: Input/Sense Configuration

Input/Sense Configuration

These bits configure the input and sense configuration of pin n. The sense configuration determines how a port interrupt can be triggered. If the input buffer is disabled, the input cannot be read in the IN register.

ValueNameDescription
0x0 INTDISABLE Interrupt disabled but input buffer enabled
0x1 BOTHEDGES Sense both edges
0x2 RISING Sense rising edge
0x3 FALLING Sense falling edge
0x4 INPUT_DISABLE Digital input buffer disabled
0x5 LEVEL Sense low level
other - Reserved