Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual
Page 116

116
8266A-MCU Wireless-12/09
ATmega128RFA1
Table 9-53 DVDD_OK Register Bits
Register Bits
Value
Description
0
Digital voltage regulator disabled or supply
voltage not stable
DVDD_OK
1
Digital supply voltage has settled
•
Bit 1:0 – DVREG_TRIM1:0 - Reserved
Table 9-54 DVREG_TRIM Register Bits
Register Bits
Value
Description
0
1.80V
1
1.75V
2
1.84V
DVREG_TRIM1:0
3
1.88V
9.12.21 BATMON – Battery Monitor Control and Status Register
Bit
7
6
5
4
NA ($151)
BAT_LOW
BAT_LOW_EN
BATMON_OK
BATMON_HR
BATMON
Read/Write
RW
RW
R
RW
Initial Value
0
0
0
0
Bit
3
2
1
0
NA ($151)
BATMON_VTH3 BATMON_VTH2 BATMON_VTH1 BATMON_VTH0
BATMON
Read/Write
RW
RW
RW
RW
Initial Value
0
0
1
0
This register configures the battery monitor to observe the supply voltage at EVDD. The
status of the EVDD supply voltage is accessible by reading bit BATMON_OK with
respect to the actual BATMON settings. Furthermore the Battery Monitor Interrupt can
be controlled with the bits BAT_LOW and BAT_LOW_EN similar to the function of the
IRQ_STATUS and IRQ_MASK register for other radio transceiver interrupts.
•
Bit 7 – BAT_LOW - Battery Monitor Interrupt Status
A BATMON Interrupt is pending if this bit is set. Writing one to this bit if it has been at
one will clear the interrupt.
•
Bit 6 – BAT_LOW_EN - Battery Monitor Interrupt Enable
The Battery Monitor Interrupt is enabled if this bit is set to one. The Battery Monitor will
not generate an interrupt if this bit is zero.
•
Bit 5 – BATMON_OK - Battery Monitor Status
The register bit BATMON_OK indicates the level of the external supply voltage with
respect to the programmed threshold BATMON_VTH.
Table 9-55 BATMON_OK Register Bits
Register Bits
Value
Description
0
The battery voltage is below the threshold.
BATMON_OK
1
The battery voltage is above the threshold.
•
Bit 4 – BATMON_HR - Battery Monitor Voltage Range
This bit sets the range and resolution of the battery monitor.