SAME54P20A Test Project
Data Fields
PDEC_CTRLA_Type Union Reference

Data Fields

struct {
   uint32_t   SWRST:1
 
   uint32_t   ENABLE:1
 
   uint32_t   MODE:2
 
   uint32_t   __pad0__:2
 
   uint32_t   RUNSTDBY:1
 
   uint32_t   __pad1__:1
 
   uint32_t   CONF:3
 
   uint32_t   ALOCK:1
 
   uint32_t   __pad2__:2
 
   uint32_t   SWAP:1
 
   uint32_t   PEREN:1
 
   uint32_t   PINEN0:1
 
   uint32_t   PINEN1:1
 
   uint32_t   PINEN2:1
 
   uint32_t   __pad3__:1
 
   uint32_t   PINVEN0:1
 
   uint32_t   PINVEN1:1
 
   uint32_t   PINVEN2:1
 
   uint32_t   __pad4__:1
 
   uint32_t   ANGULAR:3
 
   uint32_t   __pad5__:1
 
   uint32_t   MAXCMP:4
 
bit
 
struct {
   uint32_t   __pad0__:16
 
   uint32_t   PINEN:3
 
   uint32_t   __pad1__:1
 
   uint32_t   PINVEN:3
 
   uint32_t   __pad2__:9
 
vec
 
uint32_t reg
 

Detailed Description

Definition at line 44 of file pdec.h.

Field Documentation

◆ __pad0__

uint32_t PDEC_CTRLA_Type::__pad0__

bit: 4.. 5 Reserved

bit: 0..15 Reserved

Definition at line 49 of file pdec.h.

◆ __pad1__

uint32_t PDEC_CTRLA_Type::__pad1__

bit: 7 Reserved

bit: 19 Reserved

Definition at line 51 of file pdec.h.

◆ __pad2__

uint32_t PDEC_CTRLA_Type::__pad2__

bit: 12..13 Reserved

bit: 23..31 Reserved

Definition at line 54 of file pdec.h.

◆ __pad3__

uint32_t PDEC_CTRLA_Type::__pad3__

bit: 19 Reserved

Definition at line 60 of file pdec.h.

◆ __pad4__

uint32_t PDEC_CTRLA_Type::__pad4__

bit: 23 Reserved

Definition at line 64 of file pdec.h.

◆ __pad5__

uint32_t PDEC_CTRLA_Type::__pad5__

bit: 27 Reserved

Definition at line 66 of file pdec.h.

◆ ALOCK

uint32_t PDEC_CTRLA_Type::ALOCK

bit: 11 Auto Lock

Definition at line 53 of file pdec.h.

◆ ANGULAR

uint32_t PDEC_CTRLA_Type::ANGULAR

bit: 24..26 Angular Counter Length

Definition at line 65 of file pdec.h.

◆ bit

struct { ... } PDEC_CTRLA_Type::bit

Structure used for bit access

◆ CONF

uint32_t PDEC_CTRLA_Type::CONF

bit: 8..10 PDEC Configuration

Definition at line 52 of file pdec.h.

◆ ENABLE

uint32_t PDEC_CTRLA_Type::ENABLE

bit: 1 Enable

Definition at line 47 of file pdec.h.

◆ MAXCMP

uint32_t PDEC_CTRLA_Type::MAXCMP

bit: 28..31 Maximum Consecutive Missing Pulses

Definition at line 67 of file pdec.h.

◆ MODE

uint32_t PDEC_CTRLA_Type::MODE

bit: 2.. 3 Operation Mode

Definition at line 48 of file pdec.h.

◆ PEREN

uint32_t PDEC_CTRLA_Type::PEREN

bit: 15 Period Enable

Definition at line 56 of file pdec.h.

◆ PINEN

uint32_t PDEC_CTRLA_Type::PINEN

bit: 16..18 PDEC Input From Pin x Enable

Definition at line 71 of file pdec.h.

◆ PINEN0

uint32_t PDEC_CTRLA_Type::PINEN0

bit: 16 PDEC Input From Pin 0 Enable

Definition at line 57 of file pdec.h.

◆ PINEN1

uint32_t PDEC_CTRLA_Type::PINEN1

bit: 17 PDEC Input From Pin 1 Enable

Definition at line 58 of file pdec.h.

◆ PINEN2

uint32_t PDEC_CTRLA_Type::PINEN2

bit: 18 PDEC Input From Pin 2 Enable

Definition at line 59 of file pdec.h.

◆ PINVEN

uint32_t PDEC_CTRLA_Type::PINVEN

bit: 20..22 IO Pin x Invert Enable

Definition at line 73 of file pdec.h.

◆ PINVEN0

uint32_t PDEC_CTRLA_Type::PINVEN0

bit: 20 IO Pin 0 Invert Enable

Definition at line 61 of file pdec.h.

◆ PINVEN1

uint32_t PDEC_CTRLA_Type::PINVEN1

bit: 21 IO Pin 1 Invert Enable

Definition at line 62 of file pdec.h.

◆ PINVEN2

uint32_t PDEC_CTRLA_Type::PINVEN2

bit: 22 IO Pin 2 Invert Enable

Definition at line 63 of file pdec.h.

◆ reg

uint32_t PDEC_CTRLA_Type::reg

Type used for register access

Definition at line 76 of file pdec.h.

◆ RUNSTDBY

uint32_t PDEC_CTRLA_Type::RUNSTDBY

bit: 6 Run in Standby

Definition at line 50 of file pdec.h.

◆ SWAP

uint32_t PDEC_CTRLA_Type::SWAP

bit: 14 PDEC Phase A and B Swap

Definition at line 55 of file pdec.h.

◆ SWRST

uint32_t PDEC_CTRLA_Type::SWRST

bit: 0 Software Reset

Definition at line 46 of file pdec.h.

◆ vec

struct { ... } PDEC_CTRLA_Type::vec

Structure used for vec access


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