![NXP Semiconductors MC9S12VRP64 Owner Reference Manual Download Page 370](http://html.mh-extra.com/html/nxp-semiconductors/mc9s12vrp64/mc9s12vrp64_owner-reference-manual_1721842370.webp)
High-Side Driver Module - HSDRV2C (HSDRV2CV3)
MC9S12VRP Family Reference Manual Rev. 1.3
370
NXP Semiconductors
NOTE
The open-load detection is only active if the selected source (e.g. PWM,
Timer, HSDR[HSDRx]) for the high-side driver is turned off.
12.4.3
Over-Current Shutdown
The high-side drivers have an over-current shutdown feature with a current threshold of I
OCTHSX
.
If an over-current is detected the associated interrupt flag is set in the HSDRV2C Interrupt Flag Register
(HSIF). As long as an over-current interrupt flag remains set, the associated high-side driver is turned off
to protect the circuit.
Clearing an over-current interrupt flag re-enables control of the associated high-side driver from the
selected source in the PIM module.The over-current detection and driver shutdown can be masked for an
initial T
HSOCM
after switching the driver on. This can be achieved by setting the associated
HSCR[HSOCMEx] register bit. HSCR[HSOCMEx] is only writable while the associated driver is
disabled (HSCR[HSEx]=0).
12.4.4
Interrupts
This section describes the interrupt generated by HSDRV2C module. The interrupt is only available in
MCU run mode. Entering and exiting MCU stop mode has no effect on the interrupt flags.
The interrupt generated by HSDRV2C module is shown in
. Vector addresses and interrupt
priorities are defined at MCU level.
12.4.4.1
HSDRV2C Over Current Interrupt (HSOCI)
If an over-current is detected the related interrupt flag HSOCIFx asserts. Depending on the setting of the
HSDRV2C Error Interrupt Enable (HSOCIE) bit an interrupt is requested.
Table 12-11. HSDRV2C Interrupt Sources
Module Interrupt Source
Module Internal Interrupt Source
Local Enable
HSDRV2C Interrupt (HSI)
HSDRV2C Over-Current Interrupt (HSOCI)
HSOCIE = 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 ...