SAME54P20A Test Project
Data Fields
TCC_CTRLA_Type Union Reference

Data Fields

struct {
   uint32_t   SWRST:1
 
   uint32_t   ENABLE:1
 
   uint32_t   __pad0__:3
 
   uint32_t   RESOLUTION:2
 
   uint32_t   __pad1__:1
 
   uint32_t   PRESCALER:3
 
   uint32_t   RUNSTDBY:1
 
   uint32_t   PRESCSYNC:2
 
   uint32_t   ALOCK:1
 
   uint32_t   MSYNC:1
 
   uint32_t   __pad2__:7
 
   uint32_t   DMAOS:1
 
   uint32_t   CPTEN0:1
 
   uint32_t   CPTEN1:1
 
   uint32_t   CPTEN2:1
 
   uint32_t   CPTEN3:1
 
   uint32_t   CPTEN4:1
 
   uint32_t   CPTEN5:1
 
   uint32_t   __pad3__:2
 
bit
 
struct {
   uint32_t   __pad0__:24
 
   uint32_t   CPTEN:6
 
   uint32_t   __pad1__:2
 
vec
 
uint32_t reg
 

Detailed Description

Definition at line 44 of file tcc.h.

Field Documentation

◆ __pad0__

uint32_t TCC_CTRLA_Type::__pad0__

bit: 2.. 4 Reserved

bit: 0..23 Reserved

Definition at line 48 of file tcc.h.

◆ __pad1__

uint32_t TCC_CTRLA_Type::__pad1__

bit: 7 Reserved

bit: 30..31 Reserved

Definition at line 50 of file tcc.h.

◆ __pad2__

uint32_t TCC_CTRLA_Type::__pad2__

bit: 16..22 Reserved

Definition at line 56 of file tcc.h.

◆ __pad3__

uint32_t TCC_CTRLA_Type::__pad3__

bit: 30..31 Reserved

Definition at line 64 of file tcc.h.

◆ ALOCK

uint32_t TCC_CTRLA_Type::ALOCK

bit: 14 Auto Lock

Definition at line 54 of file tcc.h.

◆ bit

struct { ... } TCC_CTRLA_Type::bit

Structure used for bit access

◆ CPTEN

uint32_t TCC_CTRLA_Type::CPTEN

bit: 24..29 Capture Channel x Enable

Definition at line 68 of file tcc.h.

◆ CPTEN0

uint32_t TCC_CTRLA_Type::CPTEN0

bit: 24 Capture Channel 0 Enable

Definition at line 58 of file tcc.h.

◆ CPTEN1

uint32_t TCC_CTRLA_Type::CPTEN1

bit: 25 Capture Channel 1 Enable

Definition at line 59 of file tcc.h.

◆ CPTEN2

uint32_t TCC_CTRLA_Type::CPTEN2

bit: 26 Capture Channel 2 Enable

Definition at line 60 of file tcc.h.

◆ CPTEN3

uint32_t TCC_CTRLA_Type::CPTEN3

bit: 27 Capture Channel 3 Enable

Definition at line 61 of file tcc.h.

◆ CPTEN4

uint32_t TCC_CTRLA_Type::CPTEN4

bit: 28 Capture Channel 4 Enable

Definition at line 62 of file tcc.h.

◆ CPTEN5

uint32_t TCC_CTRLA_Type::CPTEN5

bit: 29 Capture Channel 5 Enable

Definition at line 63 of file tcc.h.

◆ DMAOS

uint32_t TCC_CTRLA_Type::DMAOS

bit: 23 DMA One-shot Trigger Mode

Definition at line 57 of file tcc.h.

◆ ENABLE

uint32_t TCC_CTRLA_Type::ENABLE

bit: 1 Enable

Definition at line 47 of file tcc.h.

◆ MSYNC

uint32_t TCC_CTRLA_Type::MSYNC

bit: 15 Master Synchronization (only for TCC Slave Instance)

Definition at line 55 of file tcc.h.

◆ PRESCALER

uint32_t TCC_CTRLA_Type::PRESCALER

bit: 8..10 Prescaler

Definition at line 51 of file tcc.h.

◆ PRESCSYNC

uint32_t TCC_CTRLA_Type::PRESCSYNC

bit: 12..13 Prescaler and Counter Synchronization Selection

Definition at line 53 of file tcc.h.

◆ reg

uint32_t TCC_CTRLA_Type::reg

Type used for register access

Definition at line 71 of file tcc.h.

◆ RESOLUTION

uint32_t TCC_CTRLA_Type::RESOLUTION

bit: 5.. 6 Enhanced Resolution

Definition at line 49 of file tcc.h.

◆ RUNSTDBY

uint32_t TCC_CTRLA_Type::RUNSTDBY

bit: 11 Run in Standby

Definition at line 52 of file tcc.h.

◆ SWRST

uint32_t TCC_CTRLA_Type::SWRST

bit: 0 Software Reset

Definition at line 46 of file tcc.h.

◆ vec

struct { ... } TCC_CTRLA_Type::vec

Structure used for vec access


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