SOC_REG_TO_ULP_PERIPH_SEL() function
Map SoC peripheral register to periph_sel field of RD_REG and WR_REG instructions.
Syntax
static inline uint32_t SOC_REG_TO_ULP_PERIPH_SEL(uint32_t reg); Arguments
reg
peripheral register in RTC_CNTL_, RTC_IO_, SENS_, RTC_I2C peripherals.
Return value
periph_sel value for the peripheral to which this register belongs.