04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 24 VOLTAGE DETECTOR<br />

Reset<br />

Figure 24-7. Processing Procedure After an Interrupt Is Generated<br />

No<br />

Yes<br />

INTLVI generated<br />

Save processing<br />

LVISEN = 1<br />

LVILV = 0<br />

LVISEN = 0<br />

LVIOMSK = 0<br />

LVD reset<br />

generated<br />

No<br />

LVISEN = 1<br />

LVIMD = 0<br />

Yes<br />

LVISEN = 0<br />

Normal operation<br />

Perform required save processing.<br />

Set the LVISEN bit to 1 to mask voltage detection<br />

(LVIOMSK = 1).<br />

Set the LVILV bit to 0 to set the high-voltage<br />

detection level (VLVDH).<br />

Set the LVISEN bit to 0 to enable voltage detection.<br />

The MCU returns to normal operation when<br />

internal reset by voltage detector (LVD) is not<br />

generated, since a condition of VDD becomes<br />

VDD VLVDH.<br />

Set the LVISEN bit to 1 to mask voltage detection<br />

(LVIOMSK = 1)<br />

Set the LVIMD bit to 0 to set interrupt mode.<br />

Set the LVISEN bit to 0 to enable voltage detection.<br />

R01UH0317EJ0004 Rev. 0.04 1129<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!