30 #ifndef _SAM3S_CRCCU_COMPONENT_ 31 #define _SAM3S_CRCCU_COMPONENT_ 39 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 62 #define CRCCU_DSCR_DSCR_Pos 9 63 #define CRCCU_DSCR_DSCR_Msk (0x7fffffu << CRCCU_DSCR_DSCR_Pos) 64 #define CRCCU_DSCR_DSCR(value) ((CRCCU_DSCR_DSCR_Msk & ((value) << CRCCU_DSCR_DSCR_Pos))) 66 #define CRCCU_DMA_EN_DMAEN (0x1u << 0) 68 #define CRCCU_DMA_DIS_DMADIS (0x1u << 0) 70 #define CRCCU_DMA_SR_DMASR (0x1u << 0) 72 #define CRCCU_DMA_IER_DMAIER (0x1u << 0) 74 #define CRCCU_DMA_IDR_DMAIDR (0x1u << 0) 76 #define CRCCU_DMA_IMR_DMAIMR (0x1u << 0) 78 #define CRCCU_DMA_ISR_DMAISR (0x1u << 0) 80 #define CRCCU_CR_RESET (0x1u << 0) 82 #define CRCCU_MR_ENABLE (0x1u << 0) 83 #define CRCCU_MR_COMPARE (0x1u << 1) 84 #define CRCCU_MR_PTYPE_Pos 2 85 #define CRCCU_MR_PTYPE_Msk (0x3u << CRCCU_MR_PTYPE_Pos) 86 #define CRCCU_MR_PTYPE_CCITT8023 (0x0u << 2) 87 #define CRCCU_MR_PTYPE_CASTAGNOLI (0x1u << 2) 88 #define CRCCU_MR_PTYPE_CCITT16 (0x2u << 2) 89 #define CRCCU_MR_DIVIDER_Pos 4 90 #define CRCCU_MR_DIVIDER_Msk (0xfu << CRCCU_MR_DIVIDER_Pos) 91 #define CRCCU_MR_DIVIDER(value) ((CRCCU_MR_DIVIDER_Msk & ((value) << CRCCU_MR_DIVIDER_Pos))) 93 #define CRCCU_SR_CRC_Pos 0 94 #define CRCCU_SR_CRC_Msk (0xffffffffu << CRCCU_SR_CRC_Pos) 96 #define CRCCU_IER_ERRIER (0x1u << 0) 98 #define CRCCU_IDR_ERRIDR (0x1u << 0) 100 #define CRCCU_IMR_ERRIMR (0x1u << 0) 102 #define CRCCU_ISR_ERRISR (0x1u << 0) RoReg CRCCU_SR
(Crccu Offset: 0x0000003C) CRCCU Status Register
Definition: component_crccu.h:54
WoReg CRCCU_CR
(Crccu Offset: 0x00000034) CRCCU Control Register
Definition: component_crccu.h:52
volatile uint32_t RwReg
Definition: sam3n00a.h:54
WoReg CRCCU_DMA_IER
(Crccu Offset: 0x00000014) CRCCU DMA Interrupt Enable Register
Definition: component_crccu.h:47
volatile uint32_t WoReg
Definition: sam3n00a.h:53
Crccu hardware registers.
Definition: component_crccu.h:41
RoReg CRCCU_IMR
(Crccu Offset: 0x00000048) CRCCU Interrupt Mask Register
Definition: component_crccu.h:57
WoReg CRCCU_DMA_EN
(Crccu Offset: 0x00000008) CRCCU DMA Enable Register
Definition: component_crccu.h:44
RwReg CRCCU_MR
(Crccu Offset: 0x00000038) CRCCU Mode Register
Definition: component_crccu.h:53
RoReg CRCCU_DMA_IMR
(Crccu Offset: 0x0000001C) CRCCU DMA Interrupt Mask Register
Definition: component_crccu.h:49
RoReg CRCCU_ISR
(Crccu Offset: 0x0000004C) CRCCU Interrupt Status Register
Definition: component_crccu.h:58
RoReg CRCCU_DMA_SR
(Crccu Offset: 0x00000010) CRCCU DMA Status Register
Definition: component_crccu.h:46
volatile const uint32_t RoReg
Definition: sam3n00a.h:49
RwReg CRCCU_DSCR
(Crccu Offset: 0x00000000) CRCCU Descriptor Base Register
Definition: component_crccu.h:42
RoReg CRCCU_DMA_ISR
(Crccu Offset: 0x00000020) CRCCU DMA Interrupt Status Register
Definition: component_crccu.h:50
WoReg CRCCU_IDR
(Crccu Offset: 0x00000044) CRCCU Interrupt Disable Register
Definition: component_crccu.h:56
WoReg CRCCU_IER
(Crccu Offset: 0x00000040) CRCCU Interrupt Enable Register
Definition: component_crccu.h:55
WoReg CRCCU_DMA_IDR
(Crccu Offset: 0x00000018) CRCCU DMA Interrupt Disable Register
Definition: component_crccu.h:48
WoReg CRCCU_DMA_DIS
(Crccu Offset: 0x0000000C) CRCCU DMA Disable Register
Definition: component_crccu.h:45