RTEMS  5.0.0
Data Structures | Macros

Data Structures

struct  Rtt
 Rtt hardware registers. More...
 

Macros

#define RTT_MR_RTPRES_Pos   0
 
#define RTT_MR_RTPRES_Msk   (0xffffu << RTT_MR_RTPRES_Pos)
 (RTT_MR) Real-time Timer Prescaler Value
 
#define RTT_MR_RTPRES(value)   ((RTT_MR_RTPRES_Msk & ((value) << RTT_MR_RTPRES_Pos)))
 
#define RTT_MR_ALMIEN   (0x1u << 16)
 (RTT_MR) Alarm Interrupt Enable
 
#define RTT_MR_RTTINCIEN   (0x1u << 17)
 (RTT_MR) Real-time Timer Increment Interrupt Enable
 
#define RTT_MR_RTTRST   (0x1u << 18)
 (RTT_MR) Real-time Timer Restart
 
#define RTT_MR_RTTDIS   (0x1u << 20)
 (RTT_MR) Real-time Timer Disable
 
#define RTT_MR_RTC1HZ   (0x1u << 24)
 (RTT_MR) Real-Time Clock 1Hz Clock Selection
 
#define RTT_AR_ALMV_Pos   0
 
#define RTT_AR_ALMV_Msk   (0xffffffffu << RTT_AR_ALMV_Pos)
 (RTT_AR) Alarm Value
 
#define RTT_AR_ALMV(value)   ((RTT_AR_ALMV_Msk & ((value) << RTT_AR_ALMV_Pos)))
 
#define RTT_VR_CRTV_Pos   0
 
#define RTT_VR_CRTV_Msk   (0xffffffffu << RTT_VR_CRTV_Pos)
 (RTT_VR) Current Real-time Value
 
#define RTT_SR_ALMS   (0x1u << 0)
 (RTT_SR) Real-time Alarm Status (cleared on read)
 
#define RTT_SR_RTTINC   (0x1u << 1)
 (RTT_SR) Prescaler Roll-over Status (cleared on read)
 

Detailed Description

SOFTWARE API DEFINITION FOR Real-time Timer