30 #ifndef _SAM4S_PDC_COMPONENT_ 31 #define _SAM4S_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) volatile uint32_t RwReg
Definition: sam3n00a.h:54
volatile uint32_t WoReg
Definition: sam3n00a.h:53
Pdc hardware registers.
Definition: component_pdc.h:41
volatile const uint32_t RoReg
Definition: sam3n00a.h:49