NXP Semiconductors
NHS3100
Temperature logger
NHS3100 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 6.03 — 15 June 2018
20 / 45
8.6.2 PIO0 I
2
C-bus mode
If the FUNC bits of registers PIO0_4 and PIO0_5 select the I
2
C-bus function, the I
2
C-bus
pins can be configured for different I
2
C-bus modes:
• Standard-mode/Fast-mode I
2
C-bus with input glitch filter (including an open-drain
output according to the I
2
C-bus specification)
• Standard open-drain I/O functionality without input filter
8.6.3 PIO0 current source mode
PIO0_3, PIO0_7, PIO0_10 and PIO0_11 are high-source pads that can deliver up to
20 mA to the load. These PIO pins can be set to either digital mode or analog current
sink mode. In digital mode, the output voltage of the pad switches between VSS and
VDD. In analog current drive mode, the output current sink switches between the values
set by the ILO and IHI bits. The maximum pad voltage is limited to 5 V.
aaa-015353
repeater mode
enable
configured
as output
configured
as input
data input
data output
CDRIVE
IHI[7:0]
ILO[7:0]
CURRENT
SINK
pull-up enable
pull-up enable
ESD
ESD
PIN
Figure 10. Pin configuration with current source mode
8.7 Fast general-purpose parallel I/O
The GPIO registers control device pins that are not connected to a specific peripheral
function. Pins may be dynamically configured as inputs or outputs. Multiple outputs can
be set or cleared in one write operation.
The NHS3100 uses accelerated GPIO functions:
• GPIO registers are on the ARM Cortex-M0+ I/O bus for fastest possible single-cycle I/O
timing
• An entire port value can be written in one instruction
• Mask, set, and clear operations are supported for the entire port
All GPIO port pins are fixed-pin functions that are enabled or disabled on the pins by the
switch matrix. Therefore each GPIO port pin is assigned to one specific pin and cannot
be moved to another pin.