SAME54P20A Test Project
Data Fields
TC_CTRLA_Type Union Reference

Data Fields

struct {
   uint32_t   SWRST:1
 
   uint32_t   ENABLE:1
 
   uint32_t   MODE:2
 
   uint32_t   PRESCSYNC:2
 
   uint32_t   RUNSTDBY:1
 
   uint32_t   ONDEMAND:1
 
   uint32_t   PRESCALER:3
 
   uint32_t   ALOCK:1
 
   uint32_t   __pad0__:4
 
   uint32_t   CAPTEN0:1
 
   uint32_t   CAPTEN1:1
 
   uint32_t   __pad1__:2
 
   uint32_t   COPEN0:1
 
   uint32_t   COPEN1:1
 
   uint32_t   __pad2__:2
 
   uint32_t   CAPTMODE0:2
 
   uint32_t   __pad3__:1
 
   uint32_t   CAPTMODE1:2
 
   uint32_t   __pad4__:3
 
bit
 
struct {
   uint32_t   __pad0__:16
 
   uint32_t   CAPTEN:2
 
   uint32_t   __pad1__:2
 
   uint32_t   COPEN:2
 
   uint32_t   __pad2__:10
 
vec
 
uint32_t reg
 

Detailed Description

Definition at line 44 of file tc.h.

Field Documentation

◆ __pad0__

uint32_t TC_CTRLA_Type::__pad0__

bit: 12..15 Reserved

bit: 0..15 Reserved

Definition at line 54 of file tc.h.

◆ __pad1__

uint32_t TC_CTRLA_Type::__pad1__

bit: 18..19 Reserved

Definition at line 57 of file tc.h.

◆ __pad2__

uint32_t TC_CTRLA_Type::__pad2__

bit: 22..23 Reserved

bit: 22..31 Reserved

Definition at line 60 of file tc.h.

◆ __pad3__

uint32_t TC_CTRLA_Type::__pad3__

bit: 26 Reserved

Definition at line 62 of file tc.h.

◆ __pad4__

uint32_t TC_CTRLA_Type::__pad4__

bit: 29..31 Reserved

Definition at line 64 of file tc.h.

◆ ALOCK

uint32_t TC_CTRLA_Type::ALOCK

bit: 11 Auto Lock

Definition at line 53 of file tc.h.

◆ bit

struct { ... } TC_CTRLA_Type::bit

Structure used for bit access

◆ CAPTEN

uint32_t TC_CTRLA_Type::CAPTEN

bit: 16..17 Capture Channel x Enable

Definition at line 68 of file tc.h.

◆ CAPTEN0

uint32_t TC_CTRLA_Type::CAPTEN0

bit: 16 Capture Channel 0 Enable

Definition at line 55 of file tc.h.

◆ CAPTEN1

uint32_t TC_CTRLA_Type::CAPTEN1

bit: 17 Capture Channel 1 Enable

Definition at line 56 of file tc.h.

◆ CAPTMODE0

uint32_t TC_CTRLA_Type::CAPTMODE0

bit: 24..25 Capture Mode Channel 0

Definition at line 61 of file tc.h.

◆ CAPTMODE1

uint32_t TC_CTRLA_Type::CAPTMODE1

bit: 27..28 Capture mode Channel 1

Definition at line 63 of file tc.h.

◆ COPEN

uint32_t TC_CTRLA_Type::COPEN

bit: 20..21 Capture On Pin x Enable

Definition at line 70 of file tc.h.

◆ COPEN0

uint32_t TC_CTRLA_Type::COPEN0

bit: 20 Capture On Pin 0 Enable

Definition at line 58 of file tc.h.

◆ COPEN1

uint32_t TC_CTRLA_Type::COPEN1

bit: 21 Capture On Pin 1 Enable

Definition at line 59 of file tc.h.

◆ ENABLE

uint32_t TC_CTRLA_Type::ENABLE

bit: 1 Enable

Definition at line 47 of file tc.h.

◆ MODE

uint32_t TC_CTRLA_Type::MODE

bit: 2.. 3 Timer Counter Mode

Definition at line 48 of file tc.h.

◆ ONDEMAND

uint32_t TC_CTRLA_Type::ONDEMAND

bit: 7 Clock On Demand

Definition at line 51 of file tc.h.

◆ PRESCALER

uint32_t TC_CTRLA_Type::PRESCALER

bit: 8..10 Prescaler

Definition at line 52 of file tc.h.

◆ PRESCSYNC

uint32_t TC_CTRLA_Type::PRESCSYNC

bit: 4.. 5 Prescaler and Counter Synchronization

Definition at line 49 of file tc.h.

◆ reg

uint32_t TC_CTRLA_Type::reg

Type used for register access

Definition at line 73 of file tc.h.

◆ RUNSTDBY

uint32_t TC_CTRLA_Type::RUNSTDBY

bit: 6 Run during Standby

Definition at line 50 of file tc.h.

◆ SWRST

uint32_t TC_CTRLA_Type::SWRST

bit: 0 Software Reset

Definition at line 46 of file tc.h.

◆ vec

struct { ... } TC_CTRLA_Type::vec

Structure used for vec access


The documentation for this union was generated from the following file: