MAX32655 Peripheral Driver API
Peripheral Driver API for the MAX32655
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages

Macros

#define MXC_F_RTC_CTRL_EN_POS   0
 
#define MXC_F_RTC_CTRL_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_EN_POS))
 
#define MXC_F_RTC_CTRL_TOD_ALARM_IE_POS   1
 
#define MXC_F_RTC_CTRL_TOD_ALARM_IE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_TOD_ALARM_IE_POS))
 
#define MXC_F_RTC_CTRL_SSEC_ALARM_IE_POS   2
 
#define MXC_F_RTC_CTRL_SSEC_ALARM_IE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SSEC_ALARM_IE_POS))
 
#define MXC_F_RTC_CTRL_BUSY_POS   3
 
#define MXC_F_RTC_CTRL_BUSY   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_BUSY_POS))
 
#define MXC_F_RTC_CTRL_RDY_POS   4
 
#define MXC_F_RTC_CTRL_RDY   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RDY_POS))
 
#define MXC_F_RTC_CTRL_RDY_IE_POS   5
 
#define MXC_F_RTC_CTRL_RDY_IE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RDY_IE_POS))
 
#define MXC_F_RTC_CTRL_TOD_ALARM_POS   6
 
#define MXC_F_RTC_CTRL_TOD_ALARM   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_TOD_ALARM_POS))
 
#define MXC_F_RTC_CTRL_SSEC_ALARM_POS   7
 
#define MXC_F_RTC_CTRL_SSEC_ALARM   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SSEC_ALARM_POS))
 
#define MXC_F_RTC_CTRL_SQW_EN_POS   8
 
#define MXC_F_RTC_CTRL_SQW_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SQW_EN_POS))
 
#define MXC_F_RTC_CTRL_SQW_SEL_POS   9
 
#define MXC_F_RTC_CTRL_SQW_SEL   ((uint32_t)(0x3UL << MXC_F_RTC_CTRL_SQW_SEL_POS))
 
#define MXC_V_RTC_CTRL_SQW_SEL_FREQ1HZ   ((uint32_t)0x0UL)
 
#define MXC_S_RTC_CTRL_SQW_SEL_FREQ1HZ   (MXC_V_RTC_CTRL_SQW_SEL_FREQ1HZ << MXC_F_RTC_CTRL_SQW_SEL_POS)
 
#define MXC_V_RTC_CTRL_SQW_SEL_FREQ512HZ   ((uint32_t)0x1UL)
 
#define MXC_S_RTC_CTRL_SQW_SEL_FREQ512HZ   (MXC_V_RTC_CTRL_SQW_SEL_FREQ512HZ << MXC_F_RTC_CTRL_SQW_SEL_POS)
 
#define MXC_V_RTC_CTRL_SQW_SEL_FREQ4KHZ   ((uint32_t)0x2UL)
 
#define MXC_S_RTC_CTRL_SQW_SEL_FREQ4KHZ   (MXC_V_RTC_CTRL_SQW_SEL_FREQ4KHZ << MXC_F_RTC_CTRL_SQW_SEL_POS)
 
#define MXC_V_RTC_CTRL_SQW_SEL_CLKDIV8   ((uint32_t)0x3UL)
 
#define MXC_S_RTC_CTRL_SQW_SEL_CLKDIV8   (MXC_V_RTC_CTRL_SQW_SEL_CLKDIV8 << MXC_F_RTC_CTRL_SQW_SEL_POS)
 
#define MXC_F_RTC_CTRL_RD_EN_POS   14
 
#define MXC_F_RTC_CTRL_RD_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RD_EN_POS))
 
#define MXC_F_RTC_CTRL_WR_EN_POS   15
 
#define MXC_F_RTC_CTRL_WR_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_WR_EN_POS))
 

Detailed Description

RTC Control Register.

Macro Definition Documentation

◆ MXC_F_RTC_CTRL_BUSY

#define MXC_F_RTC_CTRL_BUSY   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_BUSY_POS))

CTRL_BUSY Mask

◆ MXC_F_RTC_CTRL_BUSY_POS

#define MXC_F_RTC_CTRL_BUSY_POS   3

CTRL_BUSY Position

◆ MXC_F_RTC_CTRL_EN

#define MXC_F_RTC_CTRL_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_EN_POS))

CTRL_EN Mask

◆ MXC_F_RTC_CTRL_EN_POS

#define MXC_F_RTC_CTRL_EN_POS   0

CTRL_EN Position

◆ MXC_F_RTC_CTRL_RD_EN

#define MXC_F_RTC_CTRL_RD_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RD_EN_POS))

CTRL_RD_EN Mask

◆ MXC_F_RTC_CTRL_RD_EN_POS

#define MXC_F_RTC_CTRL_RD_EN_POS   14

CTRL_RD_EN Position

◆ MXC_F_RTC_CTRL_RDY

#define MXC_F_RTC_CTRL_RDY   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RDY_POS))

CTRL_RDY Mask

◆ MXC_F_RTC_CTRL_RDY_IE

#define MXC_F_RTC_CTRL_RDY_IE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RDY_IE_POS))

CTRL_RDY_IE Mask

◆ MXC_F_RTC_CTRL_RDY_IE_POS

#define MXC_F_RTC_CTRL_RDY_IE_POS   5

CTRL_RDY_IE Position

◆ MXC_F_RTC_CTRL_RDY_POS

#define MXC_F_RTC_CTRL_RDY_POS   4

CTRL_RDY Position

◆ MXC_F_RTC_CTRL_SQW_EN

#define MXC_F_RTC_CTRL_SQW_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SQW_EN_POS))

CTRL_SQW_EN Mask

◆ MXC_F_RTC_CTRL_SQW_EN_POS

#define MXC_F_RTC_CTRL_SQW_EN_POS   8

CTRL_SQW_EN Position

◆ MXC_F_RTC_CTRL_SQW_SEL

#define MXC_F_RTC_CTRL_SQW_SEL   ((uint32_t)(0x3UL << MXC_F_RTC_CTRL_SQW_SEL_POS))

CTRL_SQW_SEL Mask

◆ MXC_F_RTC_CTRL_SQW_SEL_POS

#define MXC_F_RTC_CTRL_SQW_SEL_POS   9

CTRL_SQW_SEL Position

◆ MXC_F_RTC_CTRL_SSEC_ALARM

#define MXC_F_RTC_CTRL_SSEC_ALARM   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SSEC_ALARM_POS))

CTRL_SSEC_ALARM Mask

◆ MXC_F_RTC_CTRL_SSEC_ALARM_IE

#define MXC_F_RTC_CTRL_SSEC_ALARM_IE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SSEC_ALARM_IE_POS))

CTRL_SSEC_ALARM_IE Mask

◆ MXC_F_RTC_CTRL_SSEC_ALARM_IE_POS

#define MXC_F_RTC_CTRL_SSEC_ALARM_IE_POS   2

CTRL_SSEC_ALARM_IE Position

◆ MXC_F_RTC_CTRL_SSEC_ALARM_POS

#define MXC_F_RTC_CTRL_SSEC_ALARM_POS   7

CTRL_SSEC_ALARM Position

◆ MXC_F_RTC_CTRL_TOD_ALARM

#define MXC_F_RTC_CTRL_TOD_ALARM   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_TOD_ALARM_POS))

CTRL_TOD_ALARM Mask

◆ MXC_F_RTC_CTRL_TOD_ALARM_IE

#define MXC_F_RTC_CTRL_TOD_ALARM_IE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_TOD_ALARM_IE_POS))

CTRL_TOD_ALARM_IE Mask

◆ MXC_F_RTC_CTRL_TOD_ALARM_IE_POS

#define MXC_F_RTC_CTRL_TOD_ALARM_IE_POS   1

CTRL_TOD_ALARM_IE Position

◆ MXC_F_RTC_CTRL_TOD_ALARM_POS

#define MXC_F_RTC_CTRL_TOD_ALARM_POS   6

CTRL_TOD_ALARM Position

◆ MXC_F_RTC_CTRL_WR_EN

#define MXC_F_RTC_CTRL_WR_EN   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_WR_EN_POS))

CTRL_WR_EN Mask

◆ MXC_F_RTC_CTRL_WR_EN_POS

#define MXC_F_RTC_CTRL_WR_EN_POS   15

CTRL_WR_EN Position

◆ MXC_S_RTC_CTRL_SQW_SEL_CLKDIV8

#define MXC_S_RTC_CTRL_SQW_SEL_CLKDIV8   (MXC_V_RTC_CTRL_SQW_SEL_CLKDIV8 << MXC_F_RTC_CTRL_SQW_SEL_POS)

CTRL_SQW_SEL_CLKDIV8 Setting

◆ MXC_S_RTC_CTRL_SQW_SEL_FREQ1HZ

#define MXC_S_RTC_CTRL_SQW_SEL_FREQ1HZ   (MXC_V_RTC_CTRL_SQW_SEL_FREQ1HZ << MXC_F_RTC_CTRL_SQW_SEL_POS)

CTRL_SQW_SEL_FREQ1HZ Setting

◆ MXC_S_RTC_CTRL_SQW_SEL_FREQ4KHZ

#define MXC_S_RTC_CTRL_SQW_SEL_FREQ4KHZ   (MXC_V_RTC_CTRL_SQW_SEL_FREQ4KHZ << MXC_F_RTC_CTRL_SQW_SEL_POS)

CTRL_SQW_SEL_FREQ4KHZ Setting

◆ MXC_S_RTC_CTRL_SQW_SEL_FREQ512HZ

#define MXC_S_RTC_CTRL_SQW_SEL_FREQ512HZ   (MXC_V_RTC_CTRL_SQW_SEL_FREQ512HZ << MXC_F_RTC_CTRL_SQW_SEL_POS)

CTRL_SQW_SEL_FREQ512HZ Setting

◆ MXC_V_RTC_CTRL_SQW_SEL_CLKDIV8

#define MXC_V_RTC_CTRL_SQW_SEL_CLKDIV8   ((uint32_t)0x3UL)

CTRL_SQW_SEL_CLKDIV8 Value

◆ MXC_V_RTC_CTRL_SQW_SEL_FREQ1HZ

#define MXC_V_RTC_CTRL_SQW_SEL_FREQ1HZ   ((uint32_t)0x0UL)

CTRL_SQW_SEL_FREQ1HZ Value

◆ MXC_V_RTC_CTRL_SQW_SEL_FREQ4KHZ

#define MXC_V_RTC_CTRL_SQW_SEL_FREQ4KHZ   ((uint32_t)0x2UL)

CTRL_SQW_SEL_FREQ4KHZ Value

◆ MXC_V_RTC_CTRL_SQW_SEL_FREQ512HZ

#define MXC_V_RTC_CTRL_SQW_SEL_FREQ512HZ   ((uint32_t)0x1UL)

CTRL_SQW_SEL_FREQ512HZ Value