WBZ451 TC1 registers

The 29 registers of TC1 (Basic Timer Counter), from 0x40001800, with their reset value and every field. The WBZ451 has 1990 registers in 54 peripherals, one page each.

TC1 Basic Timer Counter

CTRLAControl A

Address
0x40001800
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
FieldBitsWhat it does
CAPTMODE128:27Capture mode Channel 1
  • 0 Default capture
  • 1 Minimum capture
  • 2 Maximum capture
CAPTMODE025:24Capture Mode Channel 0
  • 0 Default capture
  • 1 Minimum capture
  • 2 Maximum capture
COPEN121Capture On Pin 1 Enable
COPEN020Capture On Pin 0 Enable
CAPTEN117Capture Channel 1 Enable
CAPTEN016Capture Channel 0 Enable
DMAOS15DMA One Shot
ALOCK11Auto Lock
PRESCALER10:8Prescaler
  • 0 Prescaler: GCLK_TC
  • 1 Prescaler: GCLK_TC/2
  • 2 Prescaler: GCLK_TC/4
  • 3 Prescaler: GCLK_TC/8
  • 4 Prescaler: GCLK_TC/16
  • 5 Prescaler: GCLK_TC/64
  • 6 Prescaler: GCLK_TC/256
  • 7 Prescaler: GCLK_TC/1024
ONDEMAND7Clock On Demand
RUNSTDBY6Run during Standby
PRESCSYNC5:4Prescaler and Counter Synchronization
  • 0 Reload or reset the counter on next generic clock
  • 1 Reload or reset the counter on next prescaler clock
  • 2 Reload or reset the counter on next generic clock and reset the prescaler counter
MODE3:2Timer Counter Mode
  • 0 Counter in 16-bit mode
  • 1 Counter in 8-bit mode
  • 2 Counter in 32-bit mode
ENABLE1Enable
SWRST0Software Reset

CTRLBCLRControl B Clear

Address
0x40001804
Reset
0x00
Access
read/write
  1. 7CMD2
  2. 6CMD1
  3. 5CMD0
  4. 4–
  5. 3–
  6. 2ONESHOT
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
CMD7:5Command
  • 0 No action
  • 1 Force a start, restart or retrigger
  • 2 Force a stop
  • 3 Force update of double-buffered register
  • 4 Force a read synchronization of COUNT
  • 5 One-shot DMA trigger
ONESHOT2One-Shot on Counter
LUPD1Lock Update
DIR0Counter Direction

CTRLBSETControl B Set

Address
0x40001805
Reset
0x00
Access
read/write
  1. 7CMD2
  2. 6CMD1
  3. 5CMD0
  4. 4–
  5. 3–
  6. 2ONESHOT
  7. 1LUPD
  8. 0DIR
4 fields
FieldBitsWhat it does
CMD7:5Command
  • 0 No action
  • 1 Force a start, restart or retrigger
  • 2 Force a stop
  • 3 Force update of double-buffered register
  • 4 Force a read synchronization of COUNT
  • 5 One-shot DMA trigger
ONESHOT2One-Shot on Counter
LUPD1Lock Update
DIR0Counter Direction

EVCTRLEvent Control

Address
0x40001806
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
FieldBitsWhat it does
MCEO113MC Event Output Enable 1
MCEO012MC Event Output Enable 0
OVFEO8Event Output Enable
TCEI5TC Event Enable
TCINV4TC Event Input Polarity
EVACT2:0Event Action
  • 0 Event action disabled
  • 1 Start, restart or retrigger TC on event
  • 2 Count on event
  • 3 Start TC on event
  • 4 Time stamp capture
  • 5 Period catured in CC0, pulse width in CC1
  • 6 Period catured in CC1, pulse width in CC0
  • 7 Pulse width capture

INTENCLRInterrupt Enable Clear

Address
0x40001808
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5MC1
  4. 4MC0
  5. 3–
  6. 2–
  7. 1ERR
  8. 0OVF
4 fields
FieldBitsWhat it does
MC15MC Interrupt Disable 1
MC04MC Interrupt Disable 0
ERR1ERR Interrupt Disable
OVF0OVF Interrupt Disable

INTENSETInterrupt Enable Set

Address
0x40001809
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5MC1
  4. 4MC0
  5. 3–
  6. 2–
  7. 1ERR
  8. 0OVF
4 fields
FieldBitsWhat it does
MC15MC Interrupt Enable 1
MC04MC Interrupt Enable 0
ERR1ERR Interrupt Enable
OVF0OVF Interrupt Enable

INTFLAGInterrupt Flag Status and Clear

Address
0x4000180A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5MC1
  4. 4MC0
  5. 3–
  6. 2–
  7. 1ERR
  8. 0OVF
4 fields
FieldBitsWhat it does
MC15MC Interrupt Flag 1
MC04MC Interrupt Flag 0
ERR1ERR Interrupt Flag
OVF0OVF Interrupt Flag

STATUSStatus

Address
0x4000180B
Reset
0x01
Access
read/write
  1. 7–
  2. 6–
  3. 5CCBUFV1
  4. 4CCBUFV0
  5. 3PERBUFV
  6. 2–
  7. 1SLAVE
  8. 0STOP
5 fields
FieldBitsWhat it does
CCBUFV15Compare channel buffer 1 valid
CCBUFV04Compare channel buffer 0 valid
PERBUFV3Synchronization Busy Status
SLAVE1Slave Status Flag
STOP0Stop Status Flag

WAVEWaveform Generation Control

Address
0x4000180C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1WAVEGEN1
  8. 0WAVEGEN0
1 field
FieldBitsWhat it does
WAVEGEN1:0Waveform Generation Mode
  • 0 Normal frequency
  • 1 Match frequency
  • 2 Normal PWM
  • 3 Match PWM

DRVCTRLControl C

Address
0x4000180D
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1INVEN1
  8. 0INVEN0
2 fields
FieldBitsWhat it does
INVEN11Output Waveform Invert Enable 1
INVEN00Output Waveform Invert Enable 0

DBGCTRLDebug Control

Address
0x4000180F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGRUN
1 field
FieldBitsWhat it does
DBGRUN0Run During Debug

SYNCBUSYSynchronization Status

Address
0x40001810
Reset
0x00000000
Access
read only
Size
32-bit
7 fields
FieldBitsWhat it does
CC17Compare Channel 1
CC06Compare Channel 0
COUNT4Counter
STATUS3STATUS
CTRLB2CTRLB
ENABLE1enable
SWRST0swrst

COUNT16.COUNTCOUNT16 Count

Address
0x40001814
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
COUNT15:0Counter Value

COUNT32.COUNTCOUNT32 Count

Address
0x40001814
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
COUNT31:0Counter Value

COUNT8.COUNTCOUNT8 Count

Address
0x40001814
Reset
0x00
Access
read/write
  1. 7COUNT7
  2. 6COUNT6
  3. 5COUNT5
  4. 4COUNT4
  5. 3COUNT3
  6. 2COUNT2
  7. 1COUNT1
  8. 0COUNT0
1 field
FieldBitsWhat it does
COUNT7:0Counter Value

COUNT8.PERCOUNT8 Period

Address
0x4000181B
Reset
0xFF
Access
read/write
  1. 7PER7
  2. 6PER6
  3. 5PER5
  4. 4PER4
  5. 3PER3
  6. 2PER2
  7. 1PER1
  8. 0PER0
1 field
FieldBitsWhat it does
PER7:0Period Value

COUNT16.CC0COUNT16 Compare and Capture

Address
0x4000181C
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
CC15:0Counter/Compare Value

COUNT32.CC0COUNT32 Compare and Capture

Address
0x4000181C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CC31:0Counter/Compare Value

COUNT8.CC0COUNT8 Compare and Capture

Address
0x4000181C
Reset
0x00
Access
read/write
  1. 7CC7
  2. 6CC6
  3. 5CC5
  4. 4CC4
  5. 3CC3
  6. 2CC2
  7. 1CC1
  8. 0CC0
1 field
FieldBitsWhat it does
CC7:0Counter/Compare Value

COUNT8.CC1COUNT8 Compare and Capture

Address
0x4000181D
Reset
0x00
Access
read/write
  1. 7CC7
  2. 6CC6
  3. 5CC5
  4. 4CC4
  5. 3CC3
  6. 2CC2
  7. 1CC1
  8. 0CC0
1 field
FieldBitsWhat it does
CC7:0Counter/Compare Value

COUNT16.CC1COUNT16 Compare and Capture

Address
0x4000181E
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
CC15:0Counter/Compare Value

COUNT32.CC1COUNT32 Compare and Capture

Address
0x40001820
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CC31:0Counter/Compare Value

COUNT8.PERBUFCOUNT8 Period Buffer

Address
0x4000182F
Reset
0xFF
Access
read/write
  1. 7PERBUF7
  2. 6PERBUF6
  3. 5PERBUF5
  4. 4PERBUF4
  5. 3PERBUF3
  6. 2PERBUF2
  7. 1PERBUF1
  8. 0PERBUF0
1 field
FieldBitsWhat it does
PERBUF7:0Period Buffer Value

COUNT16.CCBUF0COUNT16 Compare and Capture Buffer

Address
0x40001830
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
CCBUF15:0Counter/Compare Buffer Value

COUNT32.CCBUF0COUNT32 Compare and Capture Buffer

Address
0x40001830
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CCBUF31:0Counter/Compare Buffer Value

COUNT8.CCBUF0COUNT8 Compare and Capture Buffer

Address
0x40001830
Reset
0x00
Access
read/write
  1. 7CCBUF7
  2. 6CCBUF6
  3. 5CCBUF5
  4. 4CCBUF4
  5. 3CCBUF3
  6. 2CCBUF2
  7. 1CCBUF1
  8. 0CCBUF0
1 field
FieldBitsWhat it does
CCBUF7:0Counter/Compare Buffer Value

COUNT8.CCBUF1COUNT8 Compare and Capture Buffer

Address
0x40001831
Reset
0x00
Access
read/write
  1. 7CCBUF7
  2. 6CCBUF6
  3. 5CCBUF5
  4. 4CCBUF4
  5. 3CCBUF3
  6. 2CCBUF2
  7. 1CCBUF1
  8. 0CCBUF0
1 field
FieldBitsWhat it does
CCBUF7:0Counter/Compare Buffer Value

COUNT16.CCBUF1COUNT16 Compare and Capture Buffer

Address
0x40001832
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
CCBUF15:0Counter/Compare Buffer Value

COUNT32.CCBUF1COUNT32 Compare and Capture Buffer

Address
0x40001834
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CCBUF31:0Counter/Compare Buffer Value