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
Содержание MC9S12VRP64
Страница 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Страница 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Страница 92: ...Port Integration Module S12VRPPIMV1 MC9S12VRP Family Reference Manual Rev 1 3 92 NXP Semiconductors ...
Страница 106: ...S12G Memory Map Controller S12GMMCV1 MC9S12VRP Family Reference Manual Rev 1 3 106 NXP Semiconductors ...
Страница 192: ...Background Debug Module S12SBDMV1 MC9S12VRP Family Reference Manual Rev 1 3 192 NXP Semiconductors ...
Страница 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Страница 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Страница 340: ...Serial Communication Interface S12SCIV6 MC9S12VRP Family Reference Manual Rev 1 3 340 NXP Semiconductors ...
Страница 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Страница 424: ...LIN Physical Layer S12LINPHYV2 MC9S12VRP Family Reference Manual Rev 1 3 424 NXP Semiconductors ...
Страница 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Страница 488: ...64 KByte Flash Module S12FTMRG64K4KV2 MC9S12VRP Family Reference Manual Rev 1 3 488 NXP Semiconductors ...
Страница 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Страница 529: ...MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 529 Appendix J Package Information ...
Страница 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Страница 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Страница 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...