RTEMS 6.1-rc1
|
#include "fsl_common.h"
Go to the source code of this file.
Macros | |
CTRL0 - CTRL0 Register | |
#define | AI_PHY_LDO_CTRL0_LINREG_EN(x) (((uint32_t)(((uint32_t)(x)) << AI_PHY_LDO_CTRL0_LINREG_EN_SHIFT)) & AI_PHY_LDO_CTRL0_LINREG_EN_MASK) |
#define | AI_PHY_LDO_CTRL0_LINREG_EN_MASK (0x1U) |
#define | AI_PHY_LDO_CTRL0_LINREG_EN_SHIFT (0U) |
#define | AI_PHY_LDO_CTRL0_PWRUPLOAD_DIS(x) (((uint32_t)(((uint32_t)(x)) << AI_PHY_LDO_CTRL0_PWRUPLOAD_DIS_SHIFT)) & AI_PHY_LDO_CTRL0_PWRUPLOAD_DIS_MASK) |
#define | AI_PHY_LDO_CTRL0_PWRUPLOAD_DIS_MASK (0x2U) |
#define | AI_PHY_LDO_CTRL0_PWRUPLOAD_DIS_SHIFT (1U) |
#define | AI_PHY_LDO_CTRL0_LIMIT_EN(x) (((uint32_t)(((uint32_t)(x)) << AI_PHY_LDO_CTRL0_LIMIT_EN_SHIFT)) & AI_PHY_LDO_CTRL0_LIMIT_EN_MASK) |
#define | AI_PHY_LDO_CTRL0_LIMIT_EN_MASK (0x4U) |
#define | AI_PHY_LDO_CTRL0_LIMIT_EN_SHIFT (2U) |
#define | AI_PHY_LDO_CTRL0_OUTPUT_TRG(x) (((uint32_t)(((uint32_t)(x)) << AI_PHY_LDO_CTRL0_OUTPUT_TRG_SHIFT)) & AI_PHY_LDO_CTRL0_OUTPUT_TRG_MASK) |
#define | AI_PHY_LDO_CTRL0_OUTPUT_TRG_MASK (0x1F0U) |
#define | AI_PHY_LDO_CTRL0_OUTPUT_TRG_SHIFT (4U) |
#define | AI_PHY_LDO_CTRL0_PHY_ISO_B(x) (((uint32_t)(((uint32_t)(x)) << AI_PHY_LDO_CTRL0_PHY_ISO_B_SHIFT)) & AI_PHY_LDO_CTRL0_PHY_ISO_B_MASK) |
#define | AI_PHY_LDO_CTRL0_PHY_ISO_B_MASK (0x8000U) |
#define | AI_PHY_LDO_CTRL0_PHY_ISO_B_SHIFT (15U) |
#define | AI_BANDGAP_CTRL0_REFTOP_PWD(x) (((uint32_t)(((uint32_t)(x)) << AI_BANDGAP_CTRL0_REFTOP_PWD_SHIFT)) & AI_BANDGAP_CTRL0_REFTOP_PWD_MASK) |
#define | AI_BANDGAP_CTRL0_REFTOP_PWD_MASK (0x1U) |
#define | AI_BANDGAP_CTRL0_REFTOP_PWD_SHIFT (0U) |
#define | AI_BANDGAP_CTRL0_REFTOP_LINREGREF_PWD(x) |
#define | AI_BANDGAP_CTRL0_REFTOP_LINREGREF_PWD_MASK (0x2U) |
#define | AI_BANDGAP_CTRL0_REFTOP_LINREGREF_PWD_SHIFT (1U) |
#define | AI_BANDGAP_CTRL0_REFTOP_PWDVBGUP(x) (((uint32_t)(((uint32_t)(x)) << AI_BANDGAP_CTRL0_REFTOP_PWDVBGUP_SHIFT)) & AI_BANDGAP_CTRL0_REFTOP_PWDVBGUP_MASK) |
#define | AI_BANDGAP_CTRL0_REFTOP_PWDVBGUP_MASK (0x4U) |
#define | AI_BANDGAP_CTRL0_REFTOP_PWDVBGUP_SHIFT (2U) |
#define | AI_BANDGAP_CTRL0_REFTOP_LOWPOWER(x) (((uint32_t)(((uint32_t)(x)) << AI_BANDGAP_CTRL0_REFTOP_LOWPOWER_SHIFT)) & AI_BANDGAP_CTRL0_REFTOP_LOWPOWER_MASK) |
#define | AI_BANDGAP_CTRL0_REFTOP_LOWPOWER_MASK (0x8U) |
#define | AI_BANDGAP_CTRL0_REFTOP_LOWPOWER_SHIFT (3U) |
#define | AI_BANDGAP_CTRL0_REFTOP_SELFBIASOFF(x) |
#define | AI_BANDGAP_CTRL0_REFTOP_SELFBIASOFF_MASK (0x10U) |
#define | AI_BANDGAP_CTRL0_REFTOP_SELFBIASOFF_SHIFT (4U) |
#define | AI_BANDGAP_CTRL0_REFTOP_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << AI_BANDGAP_CTRL0_REFTOP_VBGADJ_SHIFT)) & AI_BANDGAP_CTRL0_REFTOP_VBGADJ_MASK) |
#define | AI_BANDGAP_CTRL0_REFTOP_VBGADJ_MASK (0xE0U) |
#define | AI_BANDGAP_CTRL0_REFTOP_VBGADJ_SHIFT (5U) |
#define | AI_BANDGAP_CTRL0_REFTOP_IBZTCADJ(x) (((uint32_t)(((uint32_t)(x)) << AI_BANDGAP_CTRL0_REFTOP_IBZTCADJ_SHIFT)) & AI_BANDGAP_CTRL0_REFTOP_IBZTCADJ_MASK) |
#define | AI_BANDGAP_CTRL0_REFTOP_IBZTCADJ_MASK (0x1C00U) |
#define | AI_BANDGAP_CTRL0_REFTOP_IBZTCADJ_SHIFT (10U) |
#define | AI_RCOSC400M_CTRL0_REF_CLK_DIV(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL0_REF_CLK_DIV_SHIFT)) & AI_RCOSC400M_CTRL0_REF_CLK_DIV_MASK) |
#define | AI_RCOSC400M_CTRL0_REF_CLK_DIV_MASK (0x3F000000U) |
#define | AI_RCOSC400M_CTRL0_REF_CLK_DIV_SHIFT (24U) |
#define | AI_PLL1G_CTRL0_HOLD_RING_OFF(x) (((uint32_t)(((uint32_t)(x)) << AI_PLL1G_CTRL0_HOLD_RING_OFF_SHIFT)) & AI_PLL1G_CTRL0_HOLD_RING_OFF_MASK) |
#define | AI_PLL1G_CTRL0_HOLD_RING_OFF_MASK (0x2000UL) |
#define | AI_PLL1G_CTRL0_HOLD_RING_OFF_SHIFT (13U) |
#define | AI_PLL1G_CTRL0_POWER_UP(x) (((uint32_t)(((uint32_t)(x)) << AI_PLL1G_CTRL0_POWER_UP_SHIFT)) & AI_PLL1G_CTRL0_POWER_UP_MASK) |
#define | AI_PLL1G_CTRL0_POWER_UP_MASK (0x4000UL) |
#define | AI_PLL1G_CTRL0_POWER_UP_SHIFT (14U) |
#define | AI_PLL1G_CTRL0_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << AI_PLL1G_CTRL0_ENABLE_SHIFT)) & AI_PLL1G_CTRL0_ENABLE_MASK) |
#define | AI_PLL1G_CTRL0_ENABLE_MASK (0x8000UL) |
#define | AI_PLL1G_CTRL0_ENABLE_SHIFT (15U) |
#define | AI_PLL1G_CTRL0_BYPASS(x) (((uint32_t)(((uint32_t)(x)) << AI_PLL1G_CTRL0_BYPASS_SHIFT)) & AI_PLL1G_CTRL0_BYPASS_MASK) |
#define | AI_PLL1G_CTRL0_BYPASS_MASK (0x10000UL) |
#define | AI_PLL1G_CTRL0_BYPASS_SHIFT (16U) |
#define | AI_PLL1G_CTRL0_PLL_REG_EN(x) (((uint32_t)(((uint32_t)(x)) << AI_PLL1G_CTRL0_PLL_REG_EN_SHIFT)) & AI_PLL1G_CTRL0_PLL_REG_EN_MASK) |
#define | AI_PLL1G_CTRL0_PLL_REG_EN_MASK (0x400000UL) |
#define | AI_PLL1G_CTRL0_PLL_REG_EN_SHIFT (22U) |
#define | AI_PLLAUDIO_CTRL0_HOLD_RING_OFF(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLAUDIO_CTRL0_HOLD_RING_OFF_SHIFT)) & AI_PLLAUDIO_CTRL0_HOLD_RING_OFF_MASK) |
#define | AI_PLLAUDIO_CTRL0_HOLD_RING_OFF_MASK (0x2000UL) |
#define | AI_PLLAUDIO_CTRL0_HOLD_RING_OFF_SHIFT (13U) |
#define | AI_PLLAUDIO_CTRL0_POWER_UP(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLAUDIO_CTRL0_POWER_UP_SHIFT)) & AI_PLLAUDIO_CTRL0_POWER_UP_MASK) |
#define | AI_PLLAUDIO_CTRL0_POWER_UP_MASK (0x4000UL) |
#define | AI_PLLAUDIO_CTRL0_POWER_UP_SHIFT (14U) |
#define | AI_PLLAUDIO_CTRL0_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLAUDIO_CTRL0_ENABLE_SHIFT)) & AI_PLLAUDIO_CTRL0_ENABLE_MASK) |
#define | AI_PLLAUDIO_CTRL0_ENABLE_MASK (0x8000UL) |
#define | AI_PLLAUDIO_CTRL0_ENABLE_SHIFT (15U) |
#define | AI_PLLAUDIO_CTRL0_BYPASS(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLAUDIO_CTRL0_BYPASS_SHIFT)) & AI_PLLAUDIO_CTRL0_BYPASS_MASK) |
#define | AI_PLLAUDIO_CTRL0_BYPASS_MASK (0x10000UL) |
#define | AI_PLLAUDIO_CTRL0_BYPASS_SHIFT (16U) |
#define | AI_PLLAUDIO_CTRL0_PLL_REG_EN(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLAUDIO_CTRL0_PLL_REG_EN_SHIFT)) & AI_PLLAUDIO_CTRL0_PLL_REG_EN_MASK) |
#define | AI_PLLAUDIO_CTRL0_PLL_REG_EN_MASK (0x400000UL) |
#define | AI_PLLAUDIO_CTRL0_PLL_REG_EN_SHIFT (22U) |
#define | AI_PLLVIDEO_CTRL0_HOLD_RING_OFF(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLVIDEO_CTRL0_HOLD_RING_OFF_SHIFT)) & AI_PLLVIDEO_CTRL0_HOLD_RING_OFF_MASK) |
#define | AI_PLLVIDEO_CTRL0_HOLD_RING_OFF_MASK (0x2000UL) |
#define | AI_PLLVIDEO_CTRL0_HOLD_RING_OFF_SHIFT (13U) |
#define | AI_PLLVIDEO_CTRL0_POWER_UP(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLVIDEO_CTRL0_POWER_UP_SHIFT)) & AI_PLLVIDEO_CTRL0_POWER_UP_MASK) |
#define | AI_PLLVIDEO_CTRL0_POWER_UP_MASK (0x4000UL) |
#define | AI_PLLVIDEO_CTRL0_POWER_UP_SHIFT (14U) |
#define | AI_PLLVIDEO_CTRL0_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLVIDEO_CTRL0_ENABLE_SHIFT)) & AI_PLLVIDEO_CTRL0_ENABLE_MASK) |
#define | AI_PLLVIDEO_CTRL0_ENABLE_MASK (0x8000UL) |
#define | AI_PLLVIDEO_CTRL0_ENABLE_SHIFT (15U) |
#define | AI_PLLVIDEO_CTRL0_BYPASS(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLVIDEO_CTRL0_BYPASS_SHIFT)) & AI_PLLVIDEO_CTRL0_BYPASS_MASK) |
#define | AI_PLLVIDEO_CTRL0_BYPASS_MASK (0x10000UL) |
#define | AI_PLLVIDEO_CTRL0_BYPASS_SHIFT (16U) |
#define | AI_PLLVIDEO_CTRL0_PLL_REG_EN(x) (((uint32_t)(((uint32_t)(x)) << AI_PLLVIDEO_CTRL0_PLL_REG_EN_SHIFT)) & AI_PLLVIDEO_CTRL0_PLL_REG_EN_MASK) |
#define | AI_PLLVIDEO_CTRL0_PLL_REG_EN_MASK (0x400000UL) |
#define | AI_PLLVIDEO_CTRL0_PLL_REG_EN_SHIFT (22U) |
STAT0 - STAT0 Register | |
#define | AI_PHY_LDO_STAT0_LINREG_STAT(x) (((uint32_t)(((uint32_t)(x)) << AI_PHY_LDO_STAT0_LINREG_STAT_SHIFT)) & AI_PHY_LDO_STAT0_LINREG_STAT_MASK) |
#define | AI_PHY_LDO_STAT0_LINREG_STAT_MASK (0xFU) |
#define | AI_PHY_LDO_STAT0_LINREG_STAT_SHIFT (0U) |
#define | AI_BANDGAP_STAT0_REFTOP_VBGUP(x) (((uint32_t)(((uint32_t)(x)) << AI_BANDGAP_STAT0_REFTOP_VBGUP_SHIFT)) & AI_BANDGAP_STAT0_REFTOP_VBGUP_MASK) |
#define | AI_BANDGAP_STAT0_REFTOP_VBGUP_MASK (0x1U) |
#define | AI_BANDGAP_STAT0_REFTOP_VBGUP_SHIFT (0U) |
#define | AI_RCOSC400M_STAT0_CLK1M_ERR(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_STAT0_CLK1M_ERR_SHIFT)) & AI_RCOSC400M_STAT0_CLK1M_ERR_MASK) |
#define | AI_RCOSC400M_STAT0_CLK1M_ERR_MASK (0x1U) |
#define | AI_RCOSC400M_STAT0_CLK1M_ERR_SHIFT (0U) |
CTRL1 - CTRL1 Register | |
#define | AI_RCOSC400M_CTRL1_HYST_MINUS(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL1_HYST_MINUS_SHIFT)) & AI_RCOSC400M_CTRL1_HYST_MINUS_MASK) |
#define | AI_RCOSC400M_CTRL1_HYST_MINUS_MASK (0xFU) |
#define | AI_RCOSC400M_CTRL1_HYST_MINUS_SHIFT (0U) |
#define | AI_RCOSC400M_CTRL1_HYST_PLUS(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL1_HYST_PLUS_SHIFT)) & AI_RCOSC400M_CTRL1_HYST_PLUS_MASK) |
#define | AI_RCOSC400M_CTRL1_HYST_PLUS_MASK (0xF00U) |
#define | AI_RCOSC400M_CTRL1_HYST_PLUS_SHIFT (8U) |
#define | AI_RCOSC400M_CTRL1_TARGET_COUNT(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL1_TARGET_COUNT_SHIFT)) & AI_RCOSC400M_CTRL1_TARGET_COUNT_MASK) |
#define | AI_RCOSC400M_CTRL1_TARGET_COUNT_MASK (0xFFFF0000U) |
#define | AI_RCOSC400M_CTRL1_TARGET_COUNT_SHIFT (16U) |
CTRL2 - CTRL2 Register | |
#define | AI_RCOSC400M_CTRL2_TUNE_BYP(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL2_TUNE_BYP_SHIFT)) & AI_RCOSC400M_CTRL2_TUNE_BYP_MASK) |
#define | AI_RCOSC400M_CTRL2_TUNE_BYP_MASK (0x400U) |
#define | AI_RCOSC400M_CTRL2_TUNE_BYP_SHIFT (10U) |
#define | AI_RCOSC400M_CTRL2_TUNE_EN(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL2_TUNE_EN_SHIFT)) & AI_RCOSC400M_CTRL2_TUNE_EN_MASK) |
#define | AI_RCOSC400M_CTRL2_TUNE_EN_MASK (0x1000U) |
#define | AI_RCOSC400M_CTRL2_TUNE_EN_SHIFT (12U) |
#define | AI_RCOSC400M_CTRL2_TUNE_START(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL2_TUNE_START_SHIFT)) & AI_RCOSC400M_CTRL2_TUNE_START_MASK) |
#define | AI_RCOSC400M_CTRL2_TUNE_START_MASK (0x4000U) |
#define | AI_RCOSC400M_CTRL2_TUNE_START_SHIFT (14U) |
#define | AI_RCOSC400M_CTRL2_OSC_TUNE_VAL(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL2_OSC_TUNE_VAL_SHIFT)) & AI_RCOSC400M_CTRL2_OSC_TUNE_VAL_MASK) |
#define | AI_RCOSC400M_CTRL2_OSC_TUNE_VAL_MASK (0xFF000000U) |
#define | AI_RCOSC400M_CTRL2_OSC_TUNE_VAL_SHIFT (24U) |
CTRL3 - CTRL3 Register | |
#define | AI_RCOSC400M_CTRL3_CLR_ERR(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL3_CLR_ERR_SHIFT)) & AI_RCOSC400M_CTRL3_CLR_ERR_MASK) |
#define | AI_RCOSC400M_CTRL3_CLR_ERR_MASK (0x1U) |
#define | AI_RCOSC400M_CTRL3_CLR_ERR_SHIFT (0U) |
#define | AI_RCOSC400M_CTRL3_EN_1M_CLK(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL3_EN_1M_CLK_SHIFT)) & AI_RCOSC400M_CTRL3_EN_1M_CLK_MASK) |
#define | AI_RCOSC400M_CTRL3_EN_1M_CLK_MASK (0x100U) |
#define | AI_RCOSC400M_CTRL3_EN_1M_CLK_SHIFT (8U) |
#define | AI_RCOSC400M_CTRL3_MUX_1M_CLK(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL3_MUX_1M_CLK_SHIFT)) & AI_RCOSC400M_CTRL3_MUX_1M_CLK_MASK) |
#define | AI_RCOSC400M_CTRL3_MUX_1M_CLK_MASK (0x400U) |
#define | AI_RCOSC400M_CTRL3_MUX_1M_CLK_SHIFT (10U) |
#define | AI_RCOSC400M_CTRL3_COUNT_1M_CLK(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_CTRL3_COUNT_1M_CLK_SHIFT)) & AI_RCOSC400M_CTRL3_COUNT_1M_CLK_MASK) |
#define | AI_RCOSC400M_CTRL3_COUNT_1M_CLK_MASK (0xFFFF0000U) |
#define | AI_RCOSC400M_CTRL3_COUNT_1M_CLK_SHIFT (16U) |
STAT1 - STAT1 Register | |
#define | AI_RCOSC400M_STAT1_CURR_COUNT_VAL(x) (((uint32_t)(((uint32_t)(x)) << AI_RCOSC400M_STAT1_CURR_COUNT_VAL_SHIFT)) & AI_RCOSC400M_STAT1_CURR_COUNT_VAL_MASK) |
#define | AI_RCOSC400M_STAT1_CURR_COUNT_VAL_MASK (0xFFFF0000U) |
#define | AI_RCOSC400M_STAT1_CURR_COUNT_VAL_SHIFT (16U) |
STAT2 - STAT2 Register | |
#define | AI_RCOSC400M_STAT2_CURR_OSC_TUNE_VAL(x) |
#define | AI_RCOSC400M_STAT2_CURR_OSC_TUNE_VAL_MASK (0xFF000000U) |
#define | AI_RCOSC400M_STAT2_CURR_OSC_TUNE_VAL_SHIFT (24U) |
Functions | |
uint32_t | ANATOP_AI_Access (anatop_ai_itf_t itf, bool isWrite, anatop_ai_reg_t addr, uint32_t wdata) |
AI interface access. More... | |
void | ANATOP_AI_Write (anatop_ai_itf_t itf, anatop_ai_reg_t addr, uint32_t wdata) |
AI interface writing. More... | |
uint32_t | ANATOP_AI_Read (anatop_ai_itf_t itf, anatop_ai_reg_t addr) |
AI interface reading. More... | |
void | ANATOP_AI_WriteWithMaskShift (anatop_ai_itf_t itf, anatop_ai_reg_t addr, uint32_t wdata, uint32_t mask, uint32_t shift) |
AI interface write with mask and shift. More... | |
uint32_t ANATOP_AI_Access | ( | anatop_ai_itf_t | itf, |
bool | isWrite, | ||
anatop_ai_reg_t | addr, | ||
uint32_t | wdata | ||
) |
AI interface access.
itf | AI interface name |
isWrite | write enable |
addr | address |
wdata | data to be set |
uint32_t ANATOP_AI_Read | ( | anatop_ai_itf_t | itf, |
anatop_ai_reg_t | addr | ||
) |
AI interface reading.
itf | AI interface name |
addr | address |
void ANATOP_AI_Write | ( | anatop_ai_itf_t | itf, |
anatop_ai_reg_t | addr, | ||
uint32_t | wdata | ||
) |
AI interface writing.
itf | AI interface name |
addr | address |
wdata | data to be set |
void ANATOP_AI_WriteWithMaskShift | ( | anatop_ai_itf_t | itf, |
anatop_ai_reg_t | addr, | ||
uint32_t | wdata, | ||
uint32_t | mask, | ||
uint32_t | shift | ||
) |
AI interface write with mask and shift.
itf | AI interface name |
addr | address |
wdata | data to be written |
mask | bit field mask |
shift | bit field shift |