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

Macros

#define MXC_F_RTC_CTRL_RTCE_POS   0
 
#define MXC_F_RTC_CTRL_RTCE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RTCE_POS))
 
#define MXC_F_RTC_CTRL_ADE_POS   1
 
#define MXC_F_RTC_CTRL_ADE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ADE_POS))
 
#define MXC_F_RTC_CTRL_ASE_POS   2
 
#define MXC_F_RTC_CTRL_ASE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ASE_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_RDYE_POS   5
 
#define MXC_F_RTC_CTRL_RDYE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RDYE_POS))
 
#define MXC_F_RTC_CTRL_ALDF_POS   6
 
#define MXC_F_RTC_CTRL_ALDF   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ALDF_POS))
 
#define MXC_F_RTC_CTRL_ALSF_POS   7
 
#define MXC_F_RTC_CTRL_ALSF   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ALSF_POS))
 
#define MXC_F_RTC_CTRL_SQE_POS   8
 
#define MXC_F_RTC_CTRL_SQE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SQE_POS))
 
#define MXC_F_RTC_CTRL_FT_POS   9
 
#define MXC_F_RTC_CTRL_FT   ((uint32_t)(0x3UL << MXC_F_RTC_CTRL_FT_POS))
 
#define MXC_V_RTC_CTRL_FT_FREQ1HZ   ((uint32_t)0x0UL)
 
#define MXC_S_RTC_CTRL_FT_FREQ1HZ   (MXC_V_RTC_CTRL_FT_FREQ1HZ << MXC_F_RTC_CTRL_FT_POS)
 
#define MXC_V_RTC_CTRL_FT_FREQ512HZ   ((uint32_t)0x1UL)
 
#define MXC_S_RTC_CTRL_FT_FREQ512HZ   (MXC_V_RTC_CTRL_FT_FREQ512HZ << MXC_F_RTC_CTRL_FT_POS)
 
#define MXC_V_RTC_CTRL_FT_FREQ4KHZ   ((uint32_t)0x2UL)
 
#define MXC_S_RTC_CTRL_FT_FREQ4KHZ   (MXC_V_RTC_CTRL_FT_FREQ4KHZ << MXC_F_RTC_CTRL_FT_POS)
 
#define MXC_V_RTC_CTRL_FT_CLKDIV8   ((uint32_t)0x3UL)
 
#define MXC_S_RTC_CTRL_FT_CLKDIV8   (MXC_V_RTC_CTRL_FT_CLKDIV8 << MXC_F_RTC_CTRL_FT_POS)
 
#define MXC_F_RTC_CTRL_ACRE_POS   14
 
#define MXC_F_RTC_CTRL_ACRE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ACRE_POS))
 
#define MXC_F_RTC_CTRL_WE_POS   15
 
#define MXC_F_RTC_CTRL_WE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_WE_POS))
 

Detailed Description

RTC Control Register.

Macro Definition Documentation

◆ MXC_F_RTC_CTRL_ACRE

#define MXC_F_RTC_CTRL_ACRE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ACRE_POS))

CTRL_ACRE Mask

◆ MXC_F_RTC_CTRL_ACRE_POS

#define MXC_F_RTC_CTRL_ACRE_POS   14

CTRL_ACRE Position

◆ MXC_F_RTC_CTRL_ADE

#define MXC_F_RTC_CTRL_ADE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ADE_POS))

CTRL_ADE Mask

◆ MXC_F_RTC_CTRL_ADE_POS

#define MXC_F_RTC_CTRL_ADE_POS   1

CTRL_ADE Position

◆ MXC_F_RTC_CTRL_ALDF

#define MXC_F_RTC_CTRL_ALDF   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ALDF_POS))

CTRL_ALDF Mask

◆ MXC_F_RTC_CTRL_ALDF_POS

#define MXC_F_RTC_CTRL_ALDF_POS   6

CTRL_ALDF Position

◆ MXC_F_RTC_CTRL_ALSF

#define MXC_F_RTC_CTRL_ALSF   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ALSF_POS))

CTRL_ALSF Mask

◆ MXC_F_RTC_CTRL_ALSF_POS

#define MXC_F_RTC_CTRL_ALSF_POS   7

CTRL_ALSF Position

◆ MXC_F_RTC_CTRL_ASE

#define MXC_F_RTC_CTRL_ASE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_ASE_POS))

CTRL_ASE Mask

◆ MXC_F_RTC_CTRL_ASE_POS

#define MXC_F_RTC_CTRL_ASE_POS   2

CTRL_ASE Position

◆ 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_FT

#define MXC_F_RTC_CTRL_FT   ((uint32_t)(0x3UL << MXC_F_RTC_CTRL_FT_POS))

CTRL_FT Mask

◆ MXC_F_RTC_CTRL_FT_POS

#define MXC_F_RTC_CTRL_FT_POS   9

CTRL_FT 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_POS

#define MXC_F_RTC_CTRL_RDY_POS   4

CTRL_RDY Position

◆ MXC_F_RTC_CTRL_RDYE

#define MXC_F_RTC_CTRL_RDYE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RDYE_POS))

CTRL_RDYE Mask

◆ MXC_F_RTC_CTRL_RDYE_POS

#define MXC_F_RTC_CTRL_RDYE_POS   5

CTRL_RDYE Position

◆ MXC_F_RTC_CTRL_RTCE

#define MXC_F_RTC_CTRL_RTCE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_RTCE_POS))

CTRL_RTCE Mask

◆ MXC_F_RTC_CTRL_RTCE_POS

#define MXC_F_RTC_CTRL_RTCE_POS   0

CTRL_RTCE Position

◆ MXC_F_RTC_CTRL_SQE

#define MXC_F_RTC_CTRL_SQE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_SQE_POS))

CTRL_SQE Mask

◆ MXC_F_RTC_CTRL_SQE_POS

#define MXC_F_RTC_CTRL_SQE_POS   8

CTRL_SQE Position

◆ MXC_F_RTC_CTRL_WE

#define MXC_F_RTC_CTRL_WE   ((uint32_t)(0x1UL << MXC_F_RTC_CTRL_WE_POS))

CTRL_WE Mask

◆ MXC_F_RTC_CTRL_WE_POS

#define MXC_F_RTC_CTRL_WE_POS   15

CTRL_WE Position

◆ MXC_S_RTC_CTRL_FT_CLKDIV8

#define MXC_S_RTC_CTRL_FT_CLKDIV8   (MXC_V_RTC_CTRL_FT_CLKDIV8 << MXC_F_RTC_CTRL_FT_POS)

CTRL_FT_CLKDIV8 Setting

◆ MXC_S_RTC_CTRL_FT_FREQ1HZ

#define MXC_S_RTC_CTRL_FT_FREQ1HZ   (MXC_V_RTC_CTRL_FT_FREQ1HZ << MXC_F_RTC_CTRL_FT_POS)

CTRL_FT_FREQ1HZ Setting

◆ MXC_S_RTC_CTRL_FT_FREQ4KHZ

#define MXC_S_RTC_CTRL_FT_FREQ4KHZ   (MXC_V_RTC_CTRL_FT_FREQ4KHZ << MXC_F_RTC_CTRL_FT_POS)

CTRL_FT_FREQ4KHZ Setting

◆ MXC_S_RTC_CTRL_FT_FREQ512HZ

#define MXC_S_RTC_CTRL_FT_FREQ512HZ   (MXC_V_RTC_CTRL_FT_FREQ512HZ << MXC_F_RTC_CTRL_FT_POS)

CTRL_FT_FREQ512HZ Setting

◆ MXC_V_RTC_CTRL_FT_CLKDIV8

#define MXC_V_RTC_CTRL_FT_CLKDIV8   ((uint32_t)0x3UL)

CTRL_FT_CLKDIV8 Value

◆ MXC_V_RTC_CTRL_FT_FREQ1HZ

#define MXC_V_RTC_CTRL_FT_FREQ1HZ   ((uint32_t)0x0UL)

CTRL_FT_FREQ1HZ Value

◆ MXC_V_RTC_CTRL_FT_FREQ4KHZ

#define MXC_V_RTC_CTRL_FT_FREQ4KHZ   ((uint32_t)0x2UL)

CTRL_FT_FREQ4KHZ Value

◆ MXC_V_RTC_CTRL_FT_FREQ512HZ

#define MXC_V_RTC_CTRL_FT_FREQ512HZ   ((uint32_t)0x1UL)

CTRL_FT_FREQ512HZ Value