![NXP Semiconductors MC9S12VRP64 Owner Reference Manual Download Page 392](http://html.mh-extra.com/html/nxp-semiconductors/mc9s12vrp64/mc9s12vrp64_owner-reference-manual_1721842392.webp)
Low-Side Driver - LS2DRV (S12LS2DRV_V1)
MC9S12VRP Family Reference Manual Rev. 1.3
392
NXP Semiconductors
14.4
Functional Description
14.4.1
General
The LS2DRV module provides one low-side driver able to drive the base of a PNP transistor. The driver
can be controlled directly through register bits or alternatively by dedicated timer or PWM channels. See
PIM section for routing details.
The driver feature an over-current detection described in the following sub-section.
14.4.2
Over-Current Detection
The low-side driver has an over-current detection with a current threshold of I
LS2OCTLHX
.
If over-current is detected the related interrupt flag (LS2OCIF) is set in the LS2DRV Interrupt Flag
Register (LS2IF). As long as the over-current interrupt flag remains set the related low-side driver is turned
off to protect the circuit. Clearing the related over-current interrupt flag returns back the control of the
driver to the selected source in the PIM module.
14.4.3
Interrupts
This section describes the interrupt generated by LS2DRV module. The interrupt is only available in MCU
run mode. Entering and exiting MCU stop mode has no effect on the interrupt flags.
The LS2DRV interrupt vector is named in
. Vector addresses and interrupt priorities are defined
at MCU level.
14.4.3.1
LS2DRV Over Current Interrupt (LSOCI)
If a low-side driver over-current event is detected the related interrupt flag LS2OCIF asserts. Depending
on the setting of the LS2DRV Error Interrupt Enable (LS2OCIE) bit an interrupt is requested.
Table 14-9. LS2DRV Interrupt Sources
Module Interrupt Source
Module Internal Interrupt Source
Local Enable
LS2DRV Interrupt (LS2I)
LS2DRV Over-Current Interrupt (LS2OCI)
LS2OCIE=1
Summary of Contents for MC9S12VRP64
Page 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Page 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Page 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Page 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Page 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Page 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Page 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Page 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Page 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Page 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...