How to get the value of pin-holder
-
- Posts: 42
- Joined: Thu Feb 22, 2024 3:59 pm
How to get the value of pin-holder
When using gpio_hold_en() and gpio_hold_dis(), is there something like gpio_hold_get()? I'm using the GPIO holders to keep bus-states for some peripherals across a reboot, and would like to be able to read them what state they were left in by the previous power-cycle.
-
- Posts: 42
- Joined: Thu Feb 22, 2024 3:59 pm
Re: How to get the value of pin-holder
Looks like this can be addressed by reading out the values of RTC_CNTL_PAD_HOLD_REG and RTC_CNTL_DIG_PAD_HOLD_REG.
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 128 guests