Chapter 16 High-Side Driver Module - HSDRV2C (HSDRV2CV3)MC9S12ZVMB Family Reference Manual Rev. 1.3552 NXP Semiconductors16.3.9 HSDRV2C Interrupt Flag Register (HSIF)16.4 Functional Description16.4.1 GeneralThe HSDRV2C module provides two high-side drivers able to drive LED or resistive loads. The driverscan be controlled directly through register bits or alternatively by dedicated timer or PWM channels. SeePIM chapter for routing details.The following sub-section describes the open-load and over-current detection features for both drivers.16.4.2 Open Load DetectionA “High-load resistance Open Load Detection” can be enabled for the driver by setting the associatedHSCR[HSEOLx] bit (refer to Section 16.3.4, “HSDRV2C Configuration Register (HSCR)”. Thisdetection is only active when the associated driver is enabled and it is not being driven. To detect an open-load condition a small current I HVOLDC will flow through the load. If the driving pin HS[x] stays at avoltage above an internal threshold then an open load will be detected for the associated high-side driver.The open-load condition is flagged in the HSDRV Status Register (HSSR).Module Base + 0x0007 Access: User read/write(1)1. Read: AnytimeWrite: Write 1 to clear, writing 0 has no effect7 6 5 4 3 2 1 0R 0 0 0 0 0 0 HSOCIF1 HSOCIF0WReset 0 0 0 0 0 0 0 0= UnimplementedFigure 16-8. HSDRV2C Interrupt Flag Register (HSIF)Table 16-10. HSDRV Interrupt Flag Register (HSIF) Field DescriptionsField Description1-0HSOCIFxHSDRV2C Over-Current Interrupt FlagsThese flags are set when an over-current event occurs on the associated high-side driver (| I HS | > | I OCTHSX|). While set the associated high-side driver is turned off.Once the flag is cleared, the driver is controlled again by the source selected in PIM module.0 No over-current event occurred since last clearing of flag1 An over-current event occurred since last clearing of flag