MAX78002 Peripheral Driver API
Peripheral Driver API for the MAX78002
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
trimsir_regs.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  mxc_trimsir_regs_t
 

Macros

#define MXC_R_TRIMSIR_RTC   ((uint32_t)0x00000008UL)
 
#define MXC_R_TRIMSIR_SIMO   ((uint32_t)0x00000034UL)
 
#define MXC_R_TRIMSIR_IPOLO   ((uint32_t)0x0000003CUL)
 
#define MXC_R_TRIMSIR_CTRL   ((uint32_t)0x00000040UL)
 
#define MXC_R_TRIMSIR_INRO   ((uint32_t)0x00000044UL)
 
#define MXC_F_TRIMSIR_RTC_X1TRIM_POS   16
 
#define MXC_F_TRIMSIR_RTC_X1TRIM   ((uint32_t)(0x1FUL << MXC_F_TRIMSIR_RTC_X1TRIM_POS))
 
#define MXC_F_TRIMSIR_RTC_X2TRIM_POS   21
 
#define MXC_F_TRIMSIR_RTC_X2TRIM   ((uint32_t)(0x1FUL << MXC_F_TRIMSIR_RTC_X2TRIM_POS))
 
#define MXC_F_TRIMSIR_RTC_LOCK_POS   31
 
#define MXC_F_TRIMSIR_RTC_LOCK   ((uint32_t)(0x1UL << MXC_F_TRIMSIR_RTC_LOCK_POS))
 
#define MXC_F_TRIMSIR_SIMO_CLKDIV_POS   0
 
#define MXC_F_TRIMSIR_SIMO_CLKDIV   ((uint32_t)(0x7UL << MXC_F_TRIMSIR_SIMO_CLKDIV_POS))
 
#define MXC_V_TRIMSIR_SIMO_CLKDIV_DIV1   ((uint32_t)0x0UL)
 
#define MXC_S_TRIMSIR_SIMO_CLKDIV_DIV1   (MXC_V_TRIMSIR_SIMO_CLKDIV_DIV1 << MXC_F_TRIMSIR_SIMO_CLKDIV_POS)
 
#define MXC_V_TRIMSIR_SIMO_CLKDIV_DIV16   ((uint32_t)0x1UL)
 
#define MXC_S_TRIMSIR_SIMO_CLKDIV_DIV16   (MXC_V_TRIMSIR_SIMO_CLKDIV_DIV16 << MXC_F_TRIMSIR_SIMO_CLKDIV_POS)
 
#define MXC_V_TRIMSIR_SIMO_CLKDIV_DIV32   ((uint32_t)0x3UL)
 
#define MXC_S_TRIMSIR_SIMO_CLKDIV_DIV32   (MXC_V_TRIMSIR_SIMO_CLKDIV_DIV32 << MXC_F_TRIMSIR_SIMO_CLKDIV_POS)
 
#define MXC_V_TRIMSIR_SIMO_CLKDIV_DIV64   ((uint32_t)0x5UL)
 
#define MXC_S_TRIMSIR_SIMO_CLKDIV_DIV64   (MXC_V_TRIMSIR_SIMO_CLKDIV_DIV64 << MXC_F_TRIMSIR_SIMO_CLKDIV_POS)
 
#define MXC_V_TRIMSIR_SIMO_CLKDIV_DIV128   ((uint32_t)0x7UL)
 
#define MXC_S_TRIMSIR_SIMO_CLKDIV_DIV128   (MXC_V_TRIMSIR_SIMO_CLKDIV_DIV128 << MXC_F_TRIMSIR_SIMO_CLKDIV_POS)
 
#define MXC_F_TRIMSIR_IPOLO_IPO_LIMITLO_POS   0
 
#define MXC_F_TRIMSIR_IPOLO_IPO_LIMITLO   ((uint32_t)(0xFFUL << MXC_F_TRIMSIR_IPOLO_IPO_LIMITLO_POS))
 
#define MXC_F_TRIMSIR_CTRL_VDDA_LIMITLO_POS   0
 
#define MXC_F_TRIMSIR_CTRL_VDDA_LIMITLO   ((uint32_t)(0x7FUL << MXC_F_TRIMSIR_CTRL_VDDA_LIMITLO_POS))
 
#define MXC_F_TRIMSIR_CTRL_VDDA_LIMITHI_POS   8
 
#define MXC_F_TRIMSIR_CTRL_VDDA_LIMITHI   ((uint32_t)(0x7FUL << MXC_F_TRIMSIR_CTRL_VDDA_LIMITHI_POS))
 
#define MXC_F_TRIMSIR_CTRL_IPO_LIMITHI_POS   15
 
#define MXC_F_TRIMSIR_CTRL_IPO_LIMITHI   ((uint32_t)(0x1FFUL << MXC_F_TRIMSIR_CTRL_IPO_LIMITHI_POS))
 
#define MXC_F_TRIMSIR_CTRL_INRO_SEL_POS   24
 
#define MXC_F_TRIMSIR_CTRL_INRO_SEL   ((uint32_t)(0x3UL << MXC_F_TRIMSIR_CTRL_INRO_SEL_POS))
 
#define MXC_V_TRIMSIR_CTRL_INRO_SEL_8KHZ   ((uint32_t)0x0UL)
 
#define MXC_S_TRIMSIR_CTRL_INRO_SEL_8KHZ   (MXC_V_TRIMSIR_CTRL_INRO_SEL_8KHZ << MXC_F_TRIMSIR_CTRL_INRO_SEL_POS)
 
#define MXC_V_TRIMSIR_CTRL_INRO_SEL_16KHZ   ((uint32_t)0x1UL)
 
#define MXC_S_TRIMSIR_CTRL_INRO_SEL_16KHZ   (MXC_V_TRIMSIR_CTRL_INRO_SEL_16KHZ << MXC_F_TRIMSIR_CTRL_INRO_SEL_POS)
 
#define MXC_V_TRIMSIR_CTRL_INRO_SEL_30KHZ   ((uint32_t)0x2UL)
 
#define MXC_S_TRIMSIR_CTRL_INRO_SEL_30KHZ   (MXC_V_TRIMSIR_CTRL_INRO_SEL_30KHZ << MXC_F_TRIMSIR_CTRL_INRO_SEL_POS)
 
#define MXC_F_TRIMSIR_CTRL_INRO_TRIM_POS   29
 
#define MXC_F_TRIMSIR_CTRL_INRO_TRIM   ((uint32_t)(0x7UL << MXC_F_TRIMSIR_CTRL_INRO_TRIM_POS))
 
#define MXC_F_TRIMSIR_INRO_TRIM16K_POS   0
 
#define MXC_F_TRIMSIR_INRO_TRIM16K   ((uint32_t)(0x7UL << MXC_F_TRIMSIR_INRO_TRIM16K_POS))
 
#define MXC_F_TRIMSIR_INRO_TRIM30K_POS   3
 
#define MXC_F_TRIMSIR_INRO_TRIM30K   ((uint32_t)(0x7UL << MXC_F_TRIMSIR_INRO_TRIM30K_POS))
 
#define MXC_F_TRIMSIR_INRO_LPCLKSEL_POS   6
 
#define MXC_F_TRIMSIR_INRO_LPCLKSEL   ((uint32_t)(0x3UL << MXC_F_TRIMSIR_INRO_LPCLKSEL_POS))
 
#define MXC_V_TRIMSIR_INRO_LPCLKSEL_8KHZ   ((uint32_t)0x0UL)
 
#define MXC_S_TRIMSIR_INRO_LPCLKSEL_8KHZ   (MXC_V_TRIMSIR_INRO_LPCLKSEL_8KHZ << MXC_F_TRIMSIR_INRO_LPCLKSEL_POS)
 
#define MXC_V_TRIMSIR_INRO_LPCLKSEL_16KHZ   ((uint32_t)0x1UL)
 
#define MXC_S_TRIMSIR_INRO_LPCLKSEL_16KHZ   (MXC_V_TRIMSIR_INRO_LPCLKSEL_16KHZ << MXC_F_TRIMSIR_INRO_LPCLKSEL_POS)
 
#define MXC_V_TRIMSIR_INRO_LPCLKSEL_30KHZ   ((uint32_t)0x2UL)
 
#define MXC_S_TRIMSIR_INRO_LPCLKSEL_30KHZ   (MXC_V_TRIMSIR_INRO_LPCLKSEL_30KHZ << MXC_F_TRIMSIR_INRO_LPCLKSEL_POS)
 

Detailed Description

Registers, Bit Masks and Bit Positions for the TRIMSIR Peripheral Module.

Note
This file is @generated.