30 #ifndef _SAME70_RTT_COMPONENT_ 31 #define _SAME70_RTT_COMPONENT_ 39 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 49 #define RTT_MR_RTPRES_Pos 0 50 #define RTT_MR_RTPRES_Msk (0xffffu << RTT_MR_RTPRES_Pos) 51 #define RTT_MR_RTPRES(value) ((RTT_MR_RTPRES_Msk & ((value) << RTT_MR_RTPRES_Pos))) 52 #define RTT_MR_ALMIEN (0x1u << 16) 53 #define RTT_MR_RTTINCIEN (0x1u << 17) 54 #define RTT_MR_RTTRST (0x1u << 18) 55 #define RTT_MR_RTTDIS (0x1u << 20) 56 #define RTT_MR_RTC1HZ (0x1u << 24) 58 #define RTT_AR_ALMV_Pos 0 59 #define RTT_AR_ALMV_Msk (0xffffffffu << RTT_AR_ALMV_Pos) 60 #define RTT_AR_ALMV(value) ((RTT_AR_ALMV_Msk & ((value) << RTT_AR_ALMV_Pos))) 62 #define RTT_VR_CRTV_Pos 0 63 #define RTT_VR_CRTV_Msk (0xffffffffu << RTT_VR_CRTV_Pos) 65 #define RTT_SR_ALMS (0x1u << 0) 66 #define RTT_SR_RTTINC (0x1u << 1) __I uint32_t RTT_SR
(Rtt Offset: 0x0C) Status Register
Definition: component_rtt.h:45
#define __IO
Definition: core_cm7.h:287
__IO uint32_t RTT_AR
(Rtt Offset: 0x04) Alarm Register
Definition: component_rtt.h:43
__I uint32_t RTT_VR
(Rtt Offset: 0x08) Value Register
Definition: component_rtt.h:44
Rtt hardware registers.
Definition: component_rtt.h:41
#define __I
Definition: core_cm7.h:284
__IO uint32_t RTT_MR
(Rtt Offset: 0x00) Mode Register
Definition: component_rtt.h:42