Pico-sdk studies
From Wiki at Neela Nurseries
2022-08-15 Pico SDK Studies
ted@localhost:~/reference/pico-sdk$ grep -nr unreset_block_wait ./* ./src/rp2_common/hardware_resets/include/hardware/resets.h:88:static inline void unreset_block_wait(uint32_t bits) { ./src/rp2_common/hardware_uart/uart.c:34: unreset_block_wait(uart_get_index(uart) ? RESETS_RESET_UART1_BITS : RESETS_RESET_UART0_BITS); ./src/rp2_common/pico_runtime/runtime.c:80: unreset_block_wait(RESETS_RESET_BITS & ~( ./src/rp2_common/pico_runtime/runtime.c:110: unreset_block_wait(RESETS_RESET_BITS); ./src/rp2_common/hardware_pll/pll.c:54: unreset_block_wait(pll_reset); ./src/rp2_common/hardware_i2c/i2c.c:25: unreset_block_wait(i2c == i2c0 ? RESETS_RESET_I2C0_BITS : RESETS_RESET_I2C1_BITS); Binary file ./src/rp2_common/hardware_spi/.spi.c.swp matches ./src/rp2_common/hardware_spi/spi.c:18: unreset_block_wait(spi == spi0 ? RESETS_RESET_SPI0_BITS : RESETS_RESET_SPI1_BITS); ./src/rp2_common/hardware_rtc/rtc.c:29: unreset_block_wait(RESETS_RESET_RTC_BITS); ./src/rp2_common/hardware_adc/adc.c:14: unreset_block_wait(RESETS_RESET_ADC_BITS); ./test/hardware_pwm_test/hardware_pwm_test.c:36: unreset_block_wait(RESETS_RESET_PWM_BITS); ted@localhost:~/reference/pico-sdk$