Home
last modified time | relevance | path

Searched refs:rtc_reg (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/
Dsoc_ulp.h32 #define READ_RTC_REG(rtc_reg, low_bit, bit_width) \ argument
33 REG_RD (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit)
36 #define WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value) \ argument
37 …REG_WR (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit), ((value)…
40 #define READ_RTC_FIELD(rtc_reg, field) \ argument
41 READ_RTC_REG(rtc_reg, field ## _S, MASK_TO_WIDTH_HELPER16(field ## _V, 0))
44 #define WRITE_RTC_FIELD(rtc_reg, field, value) \ argument
45 …WRITE_RTC_REG(rtc_reg, field ## _S, MASK_TO_WIDTH_HELPER8(field ## _V, 0), ((value) & field ## _V))
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/
Dsoc_ulp.h32 #define READ_RTC_REG(rtc_reg, low_bit, bit_width) \ argument
33 REG_RD (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit)
36 #define WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value) \ argument
37 …REG_WR (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit), ((value)…
40 #define READ_RTC_FIELD(rtc_reg, field) \ argument
41 READ_RTC_REG(rtc_reg, field ## _S, MASK_TO_WIDTH_HELPER16(field ## _V, 0))
44 #define WRITE_RTC_FIELD(rtc_reg, field, value) \ argument
45 …WRITE_RTC_REG(rtc_reg, field ## _S, MASK_TO_WIDTH_HELPER8(field ## _V, 0), ((value) & field ## _V))
/hal_espressif-3.6.0/components/soc/esp32/include/soc/
Dsoc_ulp.h32 #define READ_RTC_REG(rtc_reg, low_bit, bit_width) \ argument
33 REG_RD (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit)
36 #define WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value) \ argument
37 …REG_WR (((rtc_reg) - DR_REG_RTCCNTL_BASE) / 4), ((low_bit) + (bit_width) - 1), (low_bit), ((value)…
40 #define READ_RTC_FIELD(rtc_reg, field) \ argument
41 READ_RTC_REG(rtc_reg, field ## _S, MASK_TO_WIDTH_HELPER16(field ## _V, 0))
44 #define WRITE_RTC_FIELD(rtc_reg, field, value) \ argument
45 …WRITE_RTC_REG(rtc_reg, field ## _S, MASK_TO_WIDTH_HELPER8(field ## _V, 0), ((value) & field ## _V))
/hal_espressif-3.6.0/docs/en/api-guides/
Dulp_instruction_set.rst907 READ_RTC_REG(rtc_reg, low_bit, bit_width)
908 Read up to 16 bits from rtc_reg[low_bit + bit_width - 1 : low_bit] into R0. For example::
916 READ_RTC_FIELD(rtc_reg, field)
917 Read from a field in rtc_reg into R0, up to 16 bits. For example::
925 WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value)
926 …Write immediate value into rtc_reg[low_bit + bit_width - 1 : low_bit], bit_width <= 8. For example…
935 WRITE_RTC_FIELD(rtc_reg, field, value)
936 Write immediate value into a field in rtc_reg, up to 8 bits. For example::
Dulps2_instruction_set.rst1066 READ_RTC_REG(rtc_reg, low_bit, bit_width)
1067 Read up to 16 bits from rtc_reg[low_bit + bit_width - 1 : low_bit] into R0. For example::
1075 READ_RTC_FIELD(rtc_reg, field)
1076 Read from a field in rtc_reg into R0, up to 16 bits. For example::
1084 WRITE_RTC_REG(rtc_reg, low_bit, bit_width, value)
1085 …Write immediate value into rtc_reg[low_bit + bit_width - 1 : low_bit], bit_width <= 8. For example…
1093 WRITE_RTC_FIELD(rtc_reg, field, value)
1094 Write immediate value into a field in rtc_reg, up to 8 bits. For example::