22 xosc_ctrl - crystal oscillator control register, Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual
Page 117

117
8266A-MCU Wireless-12/09
ATmega128RFA1
Table 9-56 BATMON_HR Register Bits
Register Bits
Value
Description
0
Enables the low range, see BATMON_VTH
BATMON_HR
1
Enables the high range, see BATMON_VTH
•
Bit 3:0 – BATMON_VTH3:0 - Battery Monitor Threshold Voltage
The threshold values for the battery monitor are set by these register bits according to
the following table.
Table 9-57 BATMON_VTH Register Bits
Register Bits
Value
Description
0x0
2.550V (BATMON_HR=1) 1.70V
(BATMON_HR=0)
0x1
2.625V (BATMON_HR=1) 1.75V
(BATMON_HR=0)
0x2
2.700V (BATMON_HR=1) 1.80V
(BATMON_HR=0)
0x3
2.775V (BATMON_HR=1) 1.85V
(BATMON_HR=0)
0x4
2.850V (BATMON_HR=1) 1.90V
(BATMON_HR=0)
0x5
2.925V (BATMON_HR=1) 1.95V
(BATMON_HR=0)
0x6
3.000V (BATMON_HR=1) 2.00V
(BATMON_HR=0)
0x7
3.075V (BATMON_HR=1) 2.05V
(BATMON_HR=0)
0x8
3.150V (BATMON_HR=1) 2.10V
(BATMON_HR=0)
0x9
3.225V (BATMON_HR=1) 2.15V
(BATMON_HR=0)
0xA
3.300V (BATMON_HR=1) 2.20V
(BATMON_HR=0)
0xB
3.375V (BATMON_HR=1) 2.25V
(BATMON_HR=0)
0xC
3.450V (BATMON_HR=1) 2.30V
(BATMON_HR=0)
0xD
3.525V (BATMON_HR=1) 2.35V
(BATMON_HR=0)
0xE
3.600V (BATMON_HR=1) 2.40V
(BATMON_HR=0)
BATMON_VTH3:0
0xF
3.675V (BATMON_HR=1) 2.45V
(BATMON_HR=0)
9.12.22 XOSC_CTRL – Crystal Oscillator Control Register
Bit
7
6
5
4
NA ($152)
XTAL_MODE3
XTAL_MODE2
XTAL_MODE1
XTAL_MODE0
XOSC_CTRL
Read/Write
RW
RW
RW
RW
Initial Value
1
1
1
1