Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Header file for Raspberry Pi Pico PIO driver. More...
Go to the source code of this file.
Macros | |
#define | RPI_PICO_PIO_DEFINE_PROGRAM(name, wrap_target, wrap, ...) |
Utility macro to define a PIO program. | |
#define | RPI_PICO_PIO_GET_WRAP_TARGET(name) name ## _wrap_target |
Utility macro to get the wrap target of a program. | |
#define | RPI_PICO_PIO_GET_WRAP(name) name ## _wrap |
Utility macro to get the wrap source of a program. | |
#define | RPI_PICO_PIO_GET_PROGRAM(name) &name ## _program |
Utility macro to get a pointer to a PIO program. | |
#define | DT_RPI_PICO_PIO_PIN_BY_NAME(node_id, p_name, p_idx, g_name, g_idx) |
Get a pin number from a pinctrl / group name and index. | |
#define | DT_INST_RPI_PICO_PIO_PIN_BY_NAME(inst, p_name, p_idx, g_name, g_idx) DT_RPI_PICO_PIO_PIN_BY_NAME(DT_DRV_INST(inst), p_name, p_idx, g_name, g_idx) |
Get a pin number from a pinctrl / group name and index. | |
#define | DT_INST_PIO_PIN_BY_NAME(inst, name) DT_PIO_PIN_BY_NAME(DT_DRV_INST(inst), name) |
Get the pin number of a pin by its name. | |
Functions | |
PIO | pio_rpi_pico_get_pio (const struct device *dev) |
Get PIO object. | |
int | pio_rpi_pico_allocate_sm (const struct device *dev, size_t *sm) |
Allocate a state machine. | |
Header file for Raspberry Pi Pico PIO driver.