EasyManua.ls Logo

Maxim Integrated MAX32665 - Page 347

Maxim Integrated MAX32665
457 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MAX32665-MAX32668 User Guide
Maxim Integrated Page 347 of 457
Timer Control Register
TMRn_CN
[0x0010]
Bits
Name
Access
Reset
Description
5:3
pres
R/W
0
Timer Prescaler Select
Sets the timer’s prescaler value. The prescaler divides the PCLK input to the timer and
sets the timer’s count clock,


󰇛

󰇜

.The timer’s prescaler
setting is a 4-bit value with pres3 as the most significant bit and pres as the three least
significant bits. The table below shows the prescaler values based on pres3:pres.
pres3
pres
Prescaler

0
0b000
1

󰇛

󰇜
0
0b001
2

󰇛

󰇜
0
0b010
4

󰇛

󰇜
0
0b011
8

󰇛

󰇜
0
0b100
16

󰇛

󰇜

0
0b101
32

󰇛

󰇜

0
0b110
64

󰇛

󰇜

0
0b111
128

󰇛

󰇜

1
0b000
256

󰇛

󰇜

1
0b010
512

󰇛

󰇜

1
0b011
1024

󰇛

󰇜

1
0b100
2048

󰇛

󰇜

1
0b101
4096

󰇛

󰇜

1
0b110
Reserved
Reserved
1
0b111
Reserved
Reserved
2:0
tmode
R/W
0
Timer Mode Select
Sets the timer’s operating mode.
tmode
Timer Mode
0b000
One-Shot
0b001
Continuous
0b010
Counter
0b011
PWM
0b100
Capture
0b101
Compare
0b110
Gated
0b111
Capture/Compare

Table of Contents