Technical data

Analog Integrated Circuit Device Data
Freescale Semiconductor 35
908E621
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
Figure 19. H0 used as 2-pin hallsensor input
General Purpose Input
H0 is selected as general purpose input, if the H0MS bit in
the H0/L0 Status and Control Register (HLSCTL) is cleared.
In this mode the input is usable as standard 5V input. The H0
input has a selectable internal pull-up resistors. The pull-up
can be switched off with the H0PD bit in the H0/L0 Status and
Control Register (HLSCTL). After reset the internal pull-up is
enabled.
Figure 20. H0 used as 3 pin hall-effect sensor input
Figure 21. H0 used to read in standard switches
H0 Interrupt
The interrupt functionality on this terminal is just available
in RUN mode. H0 interrupt flag H0IF is set in run mode by a
state change of the H0 flag (rising or falling edge on the
enabled input). The interrupt function is available if the input
is selected as General Purpose or as 2pin Hallsensor input.
The interrupt can be masked with the H0IE bit in the interrupt
mask register.
3 pin hall sensor
HVDDON
VDD
H0PD
VDD
10k
H0F
H0
HVDD
GND
OUT
Vs
GND
H0
GND
H0PD
VDD
10k
H0F