How to get the value of pin-holder

Bryght-Richard
Posts: 41
Joined: Thu Feb 22, 2024 3:59 pm

How to get the value of pin-holder

Postby Bryght-Richard » Wed Nov 06, 2024 7:02 pm

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.

Bryght-Richard
Posts: 41
Joined: Thu Feb 22, 2024 3:59 pm

Re: How to get the value of pin-holder

Postby Bryght-Richard » Wed Nov 06, 2024 7:29 pm

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: Majestic-12 [Bot] and 104 guests