03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

Supply Voltage Sensor - (BATSV2)<br />

Interrupt flag BVLIF can only be cleared by writing a 1. If the interrupt is enabled by bit BVLIE the<br />

module requests an interrupt to MCU (BATI).<br />

16.4.2.2 BATS Voltage High Condition Interrupt (BVHI)<br />

To use the Voltage High Interrupt the Level Sensing must be enabled (BSESE =1 or BSUSE).<br />

If measured when<br />

a) VHBI1 selected with BVHS = 0<br />

at selected pin Vmeasure ≥ VHBI1_A (rising edge) or Vmeasure ≥ VHBI1_D (falling edge)<br />

or when<br />

a) VHBI2 selected with BVHS = 1<br />

at selected pin Vmeasure ≥ VHBI2_A (rising edge) or Vmeasure ≥ VHBI2_D (falling edge)<br />

then BVHC is set. BVHC status bit indicates that a high voltage at the selected pin is present. The High<br />

Voltage Interrupt flag (BVHIF) is set to 1 when a Voltage High Condition (BVHC) changes state. The<br />

Interrupt flag BVHIF can only be cleared by writing a 1. If the interrupt is enabled by bit BVHIE the<br />

module requests an interrupt to MCU (BATI).<br />

<strong>Freescale</strong> <strong>Semiconductor</strong> 451

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!