30 #ifndef _SAM3N_PDC_COMPONENT_ 31 #define _SAM3N_PDC_COMPONENT_ 39 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 55 #define PERIPH_RPR_RXPTR_Pos 0 56 #define PERIPH_RPR_RXPTR_Msk (0xffffffffu << PERIPH_RPR_RXPTR_Pos) 57 #define PERIPH_RPR_RXPTR(value) ((PERIPH_RPR_RXPTR_Msk & ((value) << PERIPH_RPR_RXPTR_Pos))) 59 #define PERIPH_RCR_RXCTR_Pos 0 60 #define PERIPH_RCR_RXCTR_Msk (0xffffu << PERIPH_RCR_RXCTR_Pos) 61 #define PERIPH_RCR_RXCTR(value) ((PERIPH_RCR_RXCTR_Msk & ((value) << PERIPH_RCR_RXCTR_Pos))) 63 #define PERIPH_TPR_TXPTR_Pos 0 64 #define PERIPH_TPR_TXPTR_Msk (0xffffffffu << PERIPH_TPR_TXPTR_Pos) 65 #define PERIPH_TPR_TXPTR(value) ((PERIPH_TPR_TXPTR_Msk & ((value) << PERIPH_TPR_TXPTR_Pos))) 67 #define PERIPH_TCR_TXCTR_Pos 0 68 #define PERIPH_TCR_TXCTR_Msk (0xffffu << PERIPH_TCR_TXCTR_Pos) 69 #define PERIPH_TCR_TXCTR(value) ((PERIPH_TCR_TXCTR_Msk & ((value) << PERIPH_TCR_TXCTR_Pos))) 71 #define PERIPH_RNPR_RXNPTR_Pos 0 72 #define PERIPH_RNPR_RXNPTR_Msk (0xffffffffu << PERIPH_RNPR_RXNPTR_Pos) 73 #define PERIPH_RNPR_RXNPTR(value) ((PERIPH_RNPR_RXNPTR_Msk & ((value) << PERIPH_RNPR_RXNPTR_Pos))) 75 #define PERIPH_RNCR_RXNCTR_Pos 0 76 #define PERIPH_RNCR_RXNCTR_Msk (0xffffu << PERIPH_RNCR_RXNCTR_Pos) 77 #define PERIPH_RNCR_RXNCTR(value) ((PERIPH_RNCR_RXNCTR_Msk & ((value) << PERIPH_RNCR_RXNCTR_Pos))) 79 #define PERIPH_TNPR_TXNPTR_Pos 0 80 #define PERIPH_TNPR_TXNPTR_Msk (0xffffffffu << PERIPH_TNPR_TXNPTR_Pos) 81 #define PERIPH_TNPR_TXNPTR(value) ((PERIPH_TNPR_TXNPTR_Msk & ((value) << PERIPH_TNPR_TXNPTR_Pos))) 83 #define PERIPH_TNCR_TXNCTR_Pos 0 84 #define PERIPH_TNCR_TXNCTR_Msk (0xffffu << PERIPH_TNCR_TXNCTR_Pos) 85 #define PERIPH_TNCR_TXNCTR(value) ((PERIPH_TNCR_TXNCTR_Msk & ((value) << PERIPH_TNCR_TXNCTR_Pos))) 87 #define PERIPH_PTCR_RXTEN (0x1u << 0) 88 #define PERIPH_PTCR_RXTDIS (0x1u << 1) 89 #define PERIPH_PTCR_TXTEN (0x1u << 8) 90 #define PERIPH_PTCR_TXTDIS (0x1u << 9) 92 #define PERIPH_PTSR_RXTEN (0x1u << 0) 93 #define PERIPH_PTSR_TXTEN (0x1u << 8) RwReg PERIPH_TPR
(Pdc Offset: 0x8) Transmit Pointer Register
Definition: component_pdc.h:44
RwReg PERIPH_RNCR
(Pdc Offset: 0x14) Receive Next Counter Register
Definition: component_pdc.h:47
volatile uint32_t RwReg
Definition: sam3n00a.h:54
WoReg PERIPH_PTCR
(Pdc Offset: 0x20) Transfer Control Register
Definition: component_pdc.h:50
volatile uint32_t WoReg
Definition: sam3n00a.h:53
Pdc hardware registers.
Definition: component_pdc.h:41
RwReg PERIPH_TNCR
(Pdc Offset: 0x1C) Transmit Next Counter Register
Definition: component_pdc.h:49
RwReg PERIPH_RNPR
(Pdc Offset: 0x10) Receive Next Pointer Register
Definition: component_pdc.h:46
RwReg PERIPH_RPR
(Pdc Offset: 0x0) Receive Pointer Register
Definition: component_pdc.h:42
volatile const uint32_t RoReg
Definition: sam3n00a.h:49
RoReg PERIPH_PTSR
(Pdc Offset: 0x24) Transfer Status Register
Definition: component_pdc.h:51
RwReg PERIPH_RCR
(Pdc Offset: 0x4) Receive Counter Register
Definition: component_pdc.h:43
RwReg PERIPH_TCR
(Pdc Offset: 0xC) Transmit Counter Register
Definition: component_pdc.h:45
RwReg PERIPH_TNPR
(Pdc Offset: 0x18) Transmit Next Pointer Register
Definition: component_pdc.h:48