Page 1 of 1

How to get the value of pin-holder

Posted: Wed Nov 06, 2024 7:02 pm
by Bryght-Richard
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.

Re: How to get the value of pin-holder

Posted: Wed Nov 06, 2024 7:29 pm
by Bryght-Richard
Looks like this can be addressed by reading out the values of RTC_CNTL_PAD_HOLD_REG and RTC_CNTL_DIG_PAD_HOLD_REG.