Diving into sleep_run_from_xosc(), I traced the path to the line that modifies the intf register:
sleep_run_from_dormant_source() calls:
This, in turn, calls:The line actually responsible for changing the intf register is:
where gpio = 28 and fn = GPIO_FUNC_UART...
I'm not very famialir with µcontroller registers behavior... And don't see the link with tha line the the gpio 8 interrupt register intf being activated...
sleep_run_from_dormant_source() calls:
Code:
// Reconfigure uart with new clockssetup_default_uart();Code:
gpio_set_function(PICO_DEFAULT_UART_TX_PIN, GPIO_FUNC_UART);Code:
// Zero all fields apart from fsel; we want this IO to do what the peripheral tells it.// This doesn't affect e.g. pullup/pulldown, as these are in pad controls.io_bank0_hw->io[gpio].ctrl = fn << IO_BANK0_GPIO0_CTRL_FUNCSEL_LSB;I'm not very famialir with µcontroller registers behavior... And don't see the link with tha line the the gpio 8 interrupt register intf being activated...
Statistics: Posted by phelixbel — Mon Sep 08, 2025 8:32 am