3.10.9.1.4 VMCSR – Voltage Monitor Control and Status Register

Name: VMCSR
Offset: 0x02A
Reset: 0x00

Bit 76543210 
 VMFVMIMVMLS[3:0] 
Access RRR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 7 –  Reserved Bit

This bit is reserved and read as ‘0’.

Bit 6 –  Reserved Bit

This bit is reserved and read as ‘0’.

Bit 5 – VMF Voltage Monitor Flag

This flag is set if the supervised voltage level is below this programmable threshold. VMF is automatically cleared when the voltage monitor interrupt vector is executed. Alternatively, VMF can be cleared by writing a logic ‘1’ to its bit location.

Bit 4 – VMIM Voltage Monitor Interrupt Mask Bit

Writing VMIM to ‘1’ enables a VM interrupt if the I bit in SREG is set. Writing VMIM to ‘0’ disables the interrupt. The corresponding interrupt vector is executed when the VMF flag located in VMCSR is set.

Bits 3:0 – VMLS[3:0] Voltage Monitor Level Select

These bits select the monitoring level of the programmable voltage monitor circuit as shown in the following table.
Table 3-108. Voltage Monitor Level Selection
VMLS3VMLS2VMLS1VMLS0Description
0000Disable
00012.0V
00102.1V
00112.2V
01002.3V
01012.4V
01102.5V
01112.6V
10002.7V
10012.8V
10102.9V
10113.0V
11003.1V
11013.2V
11103.3V
11113.4V