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

Create successful ePaper yourself

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

<br />

<br />

<br />

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 />

(1) Voltage detection register (LVIM)<br />

This register is used to specify whether to enable or disable rewriting the voltage detection level register (LVIS), as<br />

well as to check the LVD output mask status.<br />

This register can be set by a 1-bit or 8-bit memory manipulation instruction.<br />

Reset signal generation clears this register to 00H.<br />

Figure 24-2. Format of Voltage Detection Register (LVIM)<br />

Address: FFFA9H After reset: 00H Note 1 Note 2<br />

R/W<br />

Symbol 6 5 4 3 2 <br />

LVIM LVISEN 0 0 0 0 0 LVIOMSK LVIF<br />

LVISEN Specification of whether to enable or disable rewriting the voltage detection level<br />

register (LVIS)<br />

0 Disabling rewriting<br />

Note 3<br />

1 Enabling rewriting<br />

LVIOMSK Mask status flag of LVD output<br />

0 Mask is invalid<br />

Note 4<br />

1 Mask is valid<br />

LVIF Voltage detection flag<br />

0 Supply voltage (VDD) detection voltage (VLVD), or when LVD operation is disabled<br />

1 Supply voltage (VDD) < detection voltage (VLVD)<br />

Notes 1. The reset value changes depending on the reset source.<br />

If the LVIS register is reset by LVD, it is not reset but holds the current value. In other reset, LVISEN is<br />

cleared to 0.<br />

2. Bit 0 and 1 are read-only.<br />

3. This can only be set when LVIMDS1 and LVIMDS0 are set to 1 and 0 (interrupt and reset mode) by the<br />

option byte (In the other mode is invalid).<br />

4. LVIOMSK bit is automatically set to “1” in the following periods and reset or interruption by LVD is<br />

masked.<br />

Period during LVISEN = 1<br />

Waiting period from the time when LVD interrupt is generated until LVD detection voltage becomes stable<br />

Waiting period from the time when the value of LVILV bit changes until LVD detection voltage becomes<br />

stable<br />

R01UH0317EJ0004 Rev. 0.04 1116<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!