| Electronic Components Datasheet Search |
|
R8C2H Datasheet(PDF) 71 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C2H Datasheet(HTML) 71 Page - Renesas Technology Corp |
|
71 / 367 page ![]() R8C/2H Group, R8C/2J Group 6. Voltage Detection Circuit Rev.1.00 Mar 28, 2008 Page 51 of 341 REJ09B0388-0100 6.4 Voltage Monitor 2 Interrupt and Voltage Monitor 2 Reset Table 6.4 lists the Procedure for Setting Bits Associated with Voltage Monitor 2 Interrupt and Reset. Figure 6.13 shows an Example of Voltage Monitor 2 Interrupt and Voltage Monitor 2 Reset Operation. To use the voltage monitor 2 interrupt or voltage monitor 2 reset to exit stop mode, set the VW2C1 bit in the VW2C register to 1 (digital filter disabled). NOTES: 1. Set the VW2C7 bit to 1 (when VCC reaches Vdet2 or below) for the voltage monitor 2 reset. 2. When the VW2C0 bit is set to 0, steps 4 and 5 can be executed simultaneously (with 1 instruction). Table 6.4 Procedure for Setting Bits Associated with Voltage Monitor 2 Interrupt and Reset Step When Using Digital Filter When Not Using Digital Filter Voltage Monitor 2 Interrupt Voltage Monitor 2 Reset Voltage Monitor 2 Interrupt Voltage Monitor 2 Reset 1 Set the COMPSEL bit in the PINSR4 register to 0 (voltage monitor 1, voltage monitor 2) 2 Set the VCA27 bit in the VCA2 register to 1 (voltage detection 2 circuit enabled) 3 Wait for td(E-A) 4 Select the sampling clock of the digital filter by the VW2F0 to VW2F1 bits in the VW2C register Set the VW2C1 bit in the VW2C register to 1 (digital filter disabled) 5(2) Set the VW2C1 bit in the VW2C register to 0 (digital filter enabled) − 6 Select the timing of the interrupt and reset request by the VCAC2 bit in the VCAC register and the VW2C7 bit in the VW2C register(1) Select the timing of the interrupt and reset request by the VCAC2 bit in the VCAC register and the VW2C7 bit in the VW2C register(1) 7 Set the VW2C6 bit in the VW2C register to 0 (voltage monitor 2 interrupt mode) Set the VW2C6 bit in the VW2C register to 1 (voltage monitor 2 reset mode) Set the VW2C6 bit in the VW2C register to 0 (voltage monitor 2 interrupt mode) Set the VW2C6 bit in the VW2C register to 1 (voltage monitor 2 reset mode) 8 Set the VW2C2 bit in the VW2C register to 0 (Vdet2 crossing is not detected) 9 Set the CM14 bit in the CM1 register to 0 (low-speed on-chip oscillator on) − 10 Wait for 2 cycles of the sampling clock of the digital filter − (No wait time required) 11 Set the VW2C0 bit in the VW2C register to 1 (voltage monitor 2 interrupt/reset enabled) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |