SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 120
Version 1.1
10.8 CT16Bn REGISTERS
Base Address: 0x4000 0000 (CT16B0)
0x4000 2000 (CT16B1)
0x4000 4000 (CT16B2)
0x4000 6000 (CT16B3)
0x4000 8000 (CT16B4)
0x4000 A000 (CT16B5)
Register
n
Offset
CT16Bn_TMRCTRL
0/1/2/3/4/5
0x00
CT16Bn_TC
0/1/2/3/4/5
0x04
CT16Bn_PRE
0/1/2/3/4/5
0x08
CT16Bn_PC
0/1/2/3/4/5
0x0C
CT16Bn_CNTCTRL
0/1/2/3/4/5
0x10
CT16Bn_MCTRL
0/1/2/3/4/5
0x14
CT16Bn_MCTRL2
1
0x18
CT16Bn_MR0~MR1
0/1/2/3/4/5
0x20~0x24
CT16Bn_MR2
0/1/2/5
0x28
CT16Bn_MR3
0/1/2/5
0x2C
CT16Bn_MR4~MR8
1
0x30~0x40
CT16Bn_MR9
0/1/2/3/4/5
0x44
CT16Bn_MR10~MR11
1
0x48~0x4C
CT16Bn_MR12
1
0x50
CT16Bn_CAPCTRL
0/1/2/3/4/5
0x84
CT16Bn_CAP0
0/1/2/3/4/5
0x88
CT16Bn_EM
0/1/2/3/4/5
0x8C
CT16Bn_EMC
1
0x90
CT16Bn_PWMCTRL
0/1/2/3/4/5
0x98
CT16Bn_PWMENB
1
0xA0
CT16Bn_PWMIOENB
1
0xA4
CT16Bn_RIS
0/1/2/3/4/5
0xA8
CT16Bn_IC
0/1/2/3/4/5
0xAC
CT16Bn_PWMmNIOCTRL
0/3/4
0xB0
CT16Bn_PWMmNDB, m=0,1,2,3
0/3/4
0xB4~0xBC
10.8.1 CT16Bn Timer Control register (CT16Bn_TMRCTRL) (n=0,2)
Address Offset: 0x00
Note: CEN bit shall be set at last!
Bit
Name
Description
Attribute
Reset
31:7
Reserved
R
0
6:4
CM[2:0]
Counting mode selection
000: Edge-aligned Up-counting mode
001: Edge-aligned Down-counting mode
010: Center-aligned mode 1. The match interrupt flag is set during the
down-counting period
100: Center-aligned mode 2. The match interrupt flag is set during the up-
counting period
110: Center-aligned mode 3. The match interrupt flag is set during both
up-counting and down-counting period
Other: Reserved
R/W
000b