Searched refs:rtcio_num (Results 1 – 3 of 3) sorted by relevance
/device/soc/esp/esp32/components/hal/include/hal/ |
D | rtc_io_hal.h | 43 #define rtcio_hal_function_select(rtcio_num, func) rtcio_ll_function_select(rtcio_num, func) argument 50 #define rtcio_hal_output_enable(rtcio_num) rtcio_ll_output_enable(rtcio_num) argument 57 #define rtcio_hal_output_disable(rtcio_num) rtcio_ll_output_disable(rtcio_num) argument 65 #define rtcio_hal_set_level(rtcio_num, level) rtcio_ll_set_level(rtcio_num, level) argument 72 #define rtcio_hal_input_enable(rtcio_num) rtcio_ll_input_enable(rtcio_num) argument 79 #define rtcio_hal_input_disable(rtcio_num) rtcio_ll_input_disable(rtcio_num) argument 87 #define rtcio_hal_get_level(rtcio_num) rtcio_ll_get_level(rtcio_num) argument 95 #define rtcio_hal_set_drive_capability(rtcio_num, strength) rtcio_ll_set_drive_capability(rtcio_num… argument 103 #define rtcio_hal_get_drive_capability(rtcio_num) rtcio_ll_get_drive_capability(rtcio_num) argument 111 #define rtcio_hal_set_level(rtcio_num, level) rtcio_ll_set_level(rtcio_num, level) argument [all …]
|
/device/soc/esp/esp32/components/hal/ |
D | rtc_io_hal.c | 22 void rtcio_hal_set_direction(int rtcio_num, rtc_gpio_mode_t mode) in rtcio_hal_set_direction() argument 26 rtcio_ll_output_mode_set(rtcio_num, RTCIO_OUTPUT_NORMAL); in rtcio_hal_set_direction() 27 rtcio_ll_output_disable(rtcio_num); in rtcio_hal_set_direction() 28 rtcio_ll_input_enable(rtcio_num); in rtcio_hal_set_direction() 31 rtcio_ll_output_mode_set(rtcio_num, RTCIO_OUTPUT_NORMAL); in rtcio_hal_set_direction() 32 rtcio_ll_output_enable(rtcio_num); in rtcio_hal_set_direction() 33 rtcio_ll_input_disable(rtcio_num); in rtcio_hal_set_direction() 36 rtcio_ll_output_mode_set(rtcio_num, RTCIO_OUTPUT_NORMAL); in rtcio_hal_set_direction() 37 rtcio_ll_output_enable(rtcio_num); in rtcio_hal_set_direction() 38 rtcio_ll_input_enable(rtcio_num); in rtcio_hal_set_direction() [all …]
|
/device/soc/esp/esp32/components/hal/esp32/include/hal/ |
D | rtc_io_ll.h | 57 static inline void rtcio_ll_function_select(int rtcio_num, rtcio_ll_func_t func) in rtcio_ll_function_select() argument 61 SET_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, (rtc_io_desc[rtcio_num].mux)); in rtcio_ll_function_select() 63 …SET_PERI_REG_BITS(rtc_io_desc[rtcio_num].reg, RTC_IO_TOUCH_PAD1_FUN_SEL_V, RTCIO_LL_PIN_FUNC, rtc_… in rtcio_ll_function_select() 65 CLEAR_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, (rtc_io_desc[rtcio_num].mux)); in rtcio_ll_function_select() 74 static inline void rtcio_ll_output_enable(int rtcio_num) in rtcio_ll_output_enable() argument 76 RTCIO.enable_w1ts.w1ts = (1U << rtcio_num); in rtcio_ll_output_enable() 84 static inline void rtcio_ll_output_disable(int rtcio_num) in rtcio_ll_output_disable() argument 86 RTCIO.enable_w1tc.w1tc = (1U << rtcio_num); in rtcio_ll_output_disable() 95 static inline void rtcio_ll_set_level(int rtcio_num, uint32_t level) in rtcio_ll_set_level() argument 98 RTCIO.out_w1ts.w1ts = (1U << rtcio_num); in rtcio_ll_set_level() [all …]
|