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_WUT_CTRL_TMODE_POS   0
 
#define MXC_F_WUT_CTRL_TMODE   ((uint32_t)(0x7UL << MXC_F_WUT_CTRL_TMODE_POS))
 
#define MXC_V_WUT_CTRL_TMODE_ONESHOT   ((uint32_t)0x0UL)
 
#define MXC_S_WUT_CTRL_TMODE_ONESHOT   (MXC_V_WUT_CTRL_TMODE_ONESHOT << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_V_WUT_CTRL_TMODE_CONTINUOUS   ((uint32_t)0x1UL)
 
#define MXC_S_WUT_CTRL_TMODE_CONTINUOUS   (MXC_V_WUT_CTRL_TMODE_CONTINUOUS << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_V_WUT_CTRL_TMODE_COUNTER   ((uint32_t)0x2UL)
 
#define MXC_S_WUT_CTRL_TMODE_COUNTER   (MXC_V_WUT_CTRL_TMODE_COUNTER << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_V_WUT_CTRL_TMODE_CAPTURE   ((uint32_t)0x4UL)
 
#define MXC_S_WUT_CTRL_TMODE_CAPTURE   (MXC_V_WUT_CTRL_TMODE_CAPTURE << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_V_WUT_CTRL_TMODE_COMPARE   ((uint32_t)0x5UL)
 
#define MXC_S_WUT_CTRL_TMODE_COMPARE   (MXC_V_WUT_CTRL_TMODE_COMPARE << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_V_WUT_CTRL_TMODE_GATED   ((uint32_t)0x6UL)
 
#define MXC_S_WUT_CTRL_TMODE_GATED   (MXC_V_WUT_CTRL_TMODE_GATED << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_V_WUT_CTRL_TMODE_CAPTURECOMPARE   ((uint32_t)0x7UL)
 
#define MXC_S_WUT_CTRL_TMODE_CAPTURECOMPARE   (MXC_V_WUT_CTRL_TMODE_CAPTURECOMPARE << MXC_F_WUT_CTRL_TMODE_POS)
 
#define MXC_F_WUT_CTRL_PRES_POS   3
 
#define MXC_F_WUT_CTRL_PRES   ((uint32_t)(0x7UL << MXC_F_WUT_CTRL_PRES_POS))
 
#define MXC_V_WUT_CTRL_PRES_DIV1   ((uint32_t)0x0UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV1   (MXC_V_WUT_CTRL_PRES_DIV1 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV2   ((uint32_t)0x1UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV2   (MXC_V_WUT_CTRL_PRES_DIV2 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV4   ((uint32_t)0x2UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV4   (MXC_V_WUT_CTRL_PRES_DIV4 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV8   ((uint32_t)0x3UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV8   (MXC_V_WUT_CTRL_PRES_DIV8 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV16   ((uint32_t)0x4UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV16   (MXC_V_WUT_CTRL_PRES_DIV16 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV32   ((uint32_t)0x5UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV32   (MXC_V_WUT_CTRL_PRES_DIV32 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV64   ((uint32_t)0x6UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV64   (MXC_V_WUT_CTRL_PRES_DIV64 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_V_WUT_CTRL_PRES_DIV128   ((uint32_t)0x7UL)
 
#define MXC_S_WUT_CTRL_PRES_DIV128   (MXC_V_WUT_CTRL_PRES_DIV128 << MXC_F_WUT_CTRL_PRES_POS)
 
#define MXC_F_WUT_CTRL_TPOL_POS   6
 
#define MXC_F_WUT_CTRL_TPOL   ((uint32_t)(0x1UL << MXC_F_WUT_CTRL_TPOL_POS))
 
#define MXC_F_WUT_CTRL_TEN_POS   7
 
#define MXC_F_WUT_CTRL_TEN   ((uint32_t)(0x1UL << MXC_F_WUT_CTRL_TEN_POS))
 
#define MXC_F_WUT_CTRL_PRES3_POS   8
 
#define MXC_F_WUT_CTRL_PRES3   ((uint32_t)(0x1UL << MXC_F_WUT_CTRL_PRES3_POS))
 

Detailed Description

Timer Control Register.

Macro Definition Documentation

◆ MXC_F_WUT_CTRL_PRES

#define MXC_F_WUT_CTRL_PRES   ((uint32_t)(0x7UL << MXC_F_WUT_CTRL_PRES_POS))

CTRL_PRES Mask

◆ MXC_F_WUT_CTRL_PRES3

#define MXC_F_WUT_CTRL_PRES3   ((uint32_t)(0x1UL << MXC_F_WUT_CTRL_PRES3_POS))

CTRL_PRES3 Mask

◆ MXC_F_WUT_CTRL_PRES3_POS

#define MXC_F_WUT_CTRL_PRES3_POS   8

CTRL_PRES3 Position

◆ MXC_F_WUT_CTRL_PRES_POS

#define MXC_F_WUT_CTRL_PRES_POS   3

CTRL_PRES Position

◆ MXC_F_WUT_CTRL_TEN

#define MXC_F_WUT_CTRL_TEN   ((uint32_t)(0x1UL << MXC_F_WUT_CTRL_TEN_POS))

CTRL_TEN Mask

◆ MXC_F_WUT_CTRL_TEN_POS

#define MXC_F_WUT_CTRL_TEN_POS   7

CTRL_TEN Position

◆ MXC_F_WUT_CTRL_TMODE

#define MXC_F_WUT_CTRL_TMODE   ((uint32_t)(0x7UL << MXC_F_WUT_CTRL_TMODE_POS))

CTRL_TMODE Mask

◆ MXC_F_WUT_CTRL_TMODE_POS

#define MXC_F_WUT_CTRL_TMODE_POS   0

CTRL_TMODE Position

◆ MXC_F_WUT_CTRL_TPOL

#define MXC_F_WUT_CTRL_TPOL   ((uint32_t)(0x1UL << MXC_F_WUT_CTRL_TPOL_POS))

CTRL_TPOL Mask

◆ MXC_F_WUT_CTRL_TPOL_POS

#define MXC_F_WUT_CTRL_TPOL_POS   6

CTRL_TPOL Position

◆ MXC_S_WUT_CTRL_PRES_DIV1

#define MXC_S_WUT_CTRL_PRES_DIV1   (MXC_V_WUT_CTRL_PRES_DIV1 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV1 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV128

#define MXC_S_WUT_CTRL_PRES_DIV128   (MXC_V_WUT_CTRL_PRES_DIV128 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV128 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV16

#define MXC_S_WUT_CTRL_PRES_DIV16   (MXC_V_WUT_CTRL_PRES_DIV16 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV16 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV2

#define MXC_S_WUT_CTRL_PRES_DIV2   (MXC_V_WUT_CTRL_PRES_DIV2 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV2 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV32

#define MXC_S_WUT_CTRL_PRES_DIV32   (MXC_V_WUT_CTRL_PRES_DIV32 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV32 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV4

#define MXC_S_WUT_CTRL_PRES_DIV4   (MXC_V_WUT_CTRL_PRES_DIV4 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV4 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV64

#define MXC_S_WUT_CTRL_PRES_DIV64   (MXC_V_WUT_CTRL_PRES_DIV64 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV64 Setting

◆ MXC_S_WUT_CTRL_PRES_DIV8

#define MXC_S_WUT_CTRL_PRES_DIV8   (MXC_V_WUT_CTRL_PRES_DIV8 << MXC_F_WUT_CTRL_PRES_POS)

CTRL_PRES_DIV8 Setting

◆ MXC_S_WUT_CTRL_TMODE_CAPTURE

#define MXC_S_WUT_CTRL_TMODE_CAPTURE   (MXC_V_WUT_CTRL_TMODE_CAPTURE << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_CAPTURE Setting

◆ MXC_S_WUT_CTRL_TMODE_CAPTURECOMPARE

#define MXC_S_WUT_CTRL_TMODE_CAPTURECOMPARE   (MXC_V_WUT_CTRL_TMODE_CAPTURECOMPARE << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_CAPTURECOMPARE Setting

◆ MXC_S_WUT_CTRL_TMODE_COMPARE

#define MXC_S_WUT_CTRL_TMODE_COMPARE   (MXC_V_WUT_CTRL_TMODE_COMPARE << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_COMPARE Setting

◆ MXC_S_WUT_CTRL_TMODE_CONTINUOUS

#define MXC_S_WUT_CTRL_TMODE_CONTINUOUS   (MXC_V_WUT_CTRL_TMODE_CONTINUOUS << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_CONTINUOUS Setting

◆ MXC_S_WUT_CTRL_TMODE_COUNTER

#define MXC_S_WUT_CTRL_TMODE_COUNTER   (MXC_V_WUT_CTRL_TMODE_COUNTER << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_COUNTER Setting

◆ MXC_S_WUT_CTRL_TMODE_GATED

#define MXC_S_WUT_CTRL_TMODE_GATED   (MXC_V_WUT_CTRL_TMODE_GATED << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_GATED Setting

◆ MXC_S_WUT_CTRL_TMODE_ONESHOT

#define MXC_S_WUT_CTRL_TMODE_ONESHOT   (MXC_V_WUT_CTRL_TMODE_ONESHOT << MXC_F_WUT_CTRL_TMODE_POS)

CTRL_TMODE_ONESHOT Setting

◆ MXC_V_WUT_CTRL_PRES_DIV1

#define MXC_V_WUT_CTRL_PRES_DIV1   ((uint32_t)0x0UL)

CTRL_PRES_DIV1 Value

◆ MXC_V_WUT_CTRL_PRES_DIV128

#define MXC_V_WUT_CTRL_PRES_DIV128   ((uint32_t)0x7UL)

CTRL_PRES_DIV128 Value

◆ MXC_V_WUT_CTRL_PRES_DIV16

#define MXC_V_WUT_CTRL_PRES_DIV16   ((uint32_t)0x4UL)

CTRL_PRES_DIV16 Value

◆ MXC_V_WUT_CTRL_PRES_DIV2

#define MXC_V_WUT_CTRL_PRES_DIV2   ((uint32_t)0x1UL)

CTRL_PRES_DIV2 Value

◆ MXC_V_WUT_CTRL_PRES_DIV32

#define MXC_V_WUT_CTRL_PRES_DIV32   ((uint32_t)0x5UL)

CTRL_PRES_DIV32 Value

◆ MXC_V_WUT_CTRL_PRES_DIV4

#define MXC_V_WUT_CTRL_PRES_DIV4   ((uint32_t)0x2UL)

CTRL_PRES_DIV4 Value

◆ MXC_V_WUT_CTRL_PRES_DIV64

#define MXC_V_WUT_CTRL_PRES_DIV64   ((uint32_t)0x6UL)

CTRL_PRES_DIV64 Value

◆ MXC_V_WUT_CTRL_PRES_DIV8

#define MXC_V_WUT_CTRL_PRES_DIV8   ((uint32_t)0x3UL)

CTRL_PRES_DIV8 Value

◆ MXC_V_WUT_CTRL_TMODE_CAPTURE

#define MXC_V_WUT_CTRL_TMODE_CAPTURE   ((uint32_t)0x4UL)

CTRL_TMODE_CAPTURE Value

◆ MXC_V_WUT_CTRL_TMODE_CAPTURECOMPARE

#define MXC_V_WUT_CTRL_TMODE_CAPTURECOMPARE   ((uint32_t)0x7UL)

CTRL_TMODE_CAPTURECOMPARE Value

◆ MXC_V_WUT_CTRL_TMODE_COMPARE

#define MXC_V_WUT_CTRL_TMODE_COMPARE   ((uint32_t)0x5UL)

CTRL_TMODE_COMPARE Value

◆ MXC_V_WUT_CTRL_TMODE_CONTINUOUS

#define MXC_V_WUT_CTRL_TMODE_CONTINUOUS   ((uint32_t)0x1UL)

CTRL_TMODE_CONTINUOUS Value

◆ MXC_V_WUT_CTRL_TMODE_COUNTER

#define MXC_V_WUT_CTRL_TMODE_COUNTER   ((uint32_t)0x2UL)

CTRL_TMODE_COUNTER Value

◆ MXC_V_WUT_CTRL_TMODE_GATED

#define MXC_V_WUT_CTRL_TMODE_GATED   ((uint32_t)0x6UL)

CTRL_TMODE_GATED Value

◆ MXC_V_WUT_CTRL_TMODE_ONESHOT

#define MXC_V_WUT_CTRL_TMODE_ONESHOT   ((uint32_t)0x0UL)

CTRL_TMODE_ONESHOT Value