RM0082
BS_General purpose timers
Doc ID 018672 Rev 1
321/844
17.2.3 Register
description
17.2.4 Timer_control
register
The Timer_Control register bit assignments are given in
.
Table 255.
Couple of GPTs registers summary
Name
Offset
Type
Reset
Value
Description
TIMER_CONTROL1
0x0080
RW
16’h0000
Control register of 1
st
timer in the
couple (GPT0 or GPT2).
TIMER_STATUS_INT_ACK1
0x0084
RW
16’h0000
Status register of 1
st
timer.
TIMER_COMPARE1
0x0088
RW
16’hFFFF
Compare register of 1
st
timer.
TIMER_COUNT1
0x008C
RO
16’h0000
Count register of 1
st
timer.
TIMER_REDG_CAPT1
0x0090
RO
16’h0000
Rising edge capture register of 1
st
timer.
TIMER_FEDG_CAPT1
0x0094
RO
16’h0000
Falling edge capture register of 1
st
timer.
TIMER_CONTROL2
0x0100
RW
16’h0000
Control register of 2
nd
timer in the
couple (GPT1 or GPT3).
TIMER_STATUS_INT_ACK2
0x0104
RW
16’h0000
Status register of 2
nd
timer.
TIMER_COMPARE2
0x0108
RW
16’hFFFF
Compare register of 2
nd
timer.
TIMER_COUNT2
0x010C
RO
16’h0000
Count register of 2
nd
timer.
TIMER_REDG_CAPT2
0x0110
RO
16’h0000
Rising edge capture register of 2
nd
timer.
TIMER_FEDG_CAPT2
0x0114
RO
16’h0000
Falling edge capture register of 2
nd
timer.
Table 256.
Timer_Control register bit assignments
Bit
Name
Reset value
Description
[15:11]
Reserved
-
Read: undefined. Write: should be zero.
[10]
REDGE_INT
1’h0
If set, it enables interruption on a rising edge capture.
[09]
FEDGE_INT
1’h0
If set, it enables interruption on a falling edge capture.
[08]
MATCH_INT
1’h0
If set, it enables interruption when comparator matches.
[07:06]
CAPTURE
2’h0
Capture mode.
This 2 bit field indicates the mode of capture, according to
encoding.
2‘b00 = No capture.
2‘b01 = Capture in rising edge.
2‘b10 = Capture in falling edge.
2‘b11 = Capture in bit edges.