High-Side Driver Module - HSDRV2C (HSDRV2CV3)
MC9S12VRP Family Reference Manual Rev. 1.3
NXP Semiconductors
369
12.3.9
HSDRV2C Interrupt Flag Register (HSIF)
12.4
Functional Description
12.4.1
General
The HSDRV2C module provides two high-side drivers able to drive LED or resistive loads. The drivers
can be controlled directly through register bits or alternatively by dedicated timer or PWM channels. See
PIM chapter for routing details.
The following sub-section describes the open-load and over-current detection features for both drivers.
12.4.2
Open Load Detection
A “High-load resistance Open Load Detection” can be enabled for the driver by setting the associated
HSCR[HSEOLx] bit (refer to
Section 12.3.4, “HSDRV2C Configuration Register (HSCR)
”. This
detection 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
a voltage 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: Anytime
Write: Write 1 to clear, writing 0 has no effect
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
HSOCIF1
HSOCIF0
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented
Figure 12-8. HSDRV2C Interrupt Flag Register (HSIF)
Table 12-10. HSDRV Interrupt Flag Register (HSIF) Field Descriptions
Field
Description
1-0
HSOCIFx
HSDRV2C Over-Current Interrupt Flags
These 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 flag
1 An over-current event occurred since last clearing of flag
Содержание 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 ...