\n
address_offset : 0x0 Bytes (0x0)
size : 0x1000 byte (0x0)
mem_usage : registers
protection : not protected
Timer 2 Control Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CP_RL2 : Capture/Reload Select
bits : 0 - -1 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Reload upon overflow or upon negative/positive transition at pin T2EX (when EXEN2 = 1).
0b1 : value2
Capture Timer 2 data register contents on the negative/positive transition at pin T2EX, provided EXEN2 = 1.The negative or positive transition at Pin T2EX is selected by bit EDGESEL.
End of enumeration elements list.
C_T2 : Timer or Counter Select
bits : 1 - 0 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Timer function selected.
0b1 : value2
Count upon negative edge at pin T2.
End of enumeration elements list.
TR2 : Timer 2 Start/Stop Control
bits : 2 - 1 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Stop Timer 2.
0b1 : value2
Start Timer 2.
End of enumeration elements list.
EXEN2 : Timer 2 External Enable Control
bits : 3 - 2 (0 bit)
access : read-write
Enumeration:
0b0 : value1
External events are disabled.
0b1 : value2
External events are enabled in Capture/Reload Mode.
End of enumeration elements list.
EXF2 : Timer 2 External Flag
bits : 6 - 5 (0 bit)
access : read-only
TF2 : Timer 2 Overflow/Underflow Flag
bits : 7 - 6 (0 bit)
access : read-only
Timer 2, Low Byte
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
T2L : Timer 2 Value
bits : 0 - 6 (7 bit)
access : read-write
Timer 2, High Byte
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
T2H : Timer 2 Value
bits : 0 - 6 (7 bit)
access : read-write
Timer 2 Control Register 1
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EXF2EN : External Interrupt Enable
bits : 0 - -1 (0 bit)
access : read-write
Enumeration:
0b0 : value1
External interrupt is disabled.
0b1 : value2
External interrupt is enabled.
End of enumeration elements list.
TF2EN : Overflow/Underflow Interrupt Enable
bits : 1 - 0 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Overflow/underflow interrupt is disabled.
0b1 : value2
Overflow/underflow interrupt is enabled.
End of enumeration elements list.
Timer 2 Interrupt Clear Register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EXF2CLR : External Interrupt Clear Flag
bits : 6 - 5 (0 bit)
access : write-only
Enumeration:
0b0 : value1
External interrupt is not cleared.
0b1 : value2
External interrupt is cleared.
End of enumeration elements list.
TF2CLR : Overflow/Underflow Interrupt Clear Flag
bits : 7 - 6 (0 bit)
access : write-only
Enumeration:
0b0 : value1
Overflow/underflow interrupt is not cleared.
0b1 : value2
Overflow/underflow interrupt is cleared.
End of enumeration elements list.
Timer 2 Mode Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DCEN : Up/Down Counter Enable
bits : 0 - -1 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Up/Down Counter function is disabled
0b1 : value2
Up/Down Counter function is enabled and controlled by pin T2EX (Up = 1, Down = 0)
End of enumeration elements list.
T2PRE : Timer 2 Prescaler Bit
bits : 1 - 2 (2 bit)
access : read-write
Enumeration:
0b000 : value1
fT2 = fPCLK
0b001 : value2
fT2 = fPCLK / 2
0b010 : value3
fT2 = fPCLK / 4
0b011 : value4
fT2 = fPCLK / 8
0b100 : value5
fT2 = fPCLK / 16
0b101 : value6
fT2 = fPCLK / 32
0b110 : value7
fT2 = fPCLK / 64
0b111 : value8
fT2 = fPCLK / 128
End of enumeration elements list.
PREN : Prescaler Enable
bits : 4 - 3 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Prescaler is disabled and the 2 or 12 divider takes effect.
0b1 : value2
Prescaler is enabled (see T2PRE bit) and the 2 or 12 divider is bypassed.
End of enumeration elements list.
EDGESEL : Edge Select in Capture Mode/Reload Mode
bits : 5 - 4 (0 bit)
access : read-write
Enumeration:
0b0 : value1
The falling edge at Pin T2EX is selected.
0b1 : value2
The rising edge at Pin T2EX is selected.
End of enumeration elements list.
T2RHEN : Timer 2 External Start Enable
bits : 6 - 5 (0 bit)
access : read-write
Enumeration:
0b0 : value1
Timer 2 External Start is disabled.
0b1 : value2
Timer 2 External Start is enabled.
End of enumeration elements list.
T2REGS : Edge Select for Timer 2 External Start
bits : 7 - 6 (0 bit)
access : read-write
Enumeration:
0b0 : value1
The falling edge at Pin T2EX is selected.
0b1 : value2
The rising edge at Pin T2EX is selected.
End of enumeration elements list.
Timer 2 Reload/Capture Register, Low Byte
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RC2 : Reload/Capture Value
bits : 0 - 6 (7 bit)
access : read-write
Timer 2 Reload/Capture Register, High Byte
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RC2 : Reload/Capture Value
bits : 0 - 6 (7 bit)
access : read-write
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.