Searched refs:is_tx (Results 1 – 4 of 4) sorted by relevance
/hal_rpi_pico-latest/src/rp2_common/hardware_uart/include/hardware/ |
D | uart.h | 152 #define UART_DREQ_NUM(uart, is_tx) ({ \ argument 153 DREQ_UART0_TX + UART_NUM(uart) * 2 + !(is_tx); \ 597 static inline uint uart_get_dreq_num(uart_inst_t *uart, bool is_tx) { in uart_get_dreq_num() argument 598 return UART_DREQ_NUM(uart, is_tx); in uart_get_dreq_num() 611 static inline uint uart_get_dreq(uart_inst_t *uart, bool is_tx) { in uart_get_dreq() argument 612 return uart_get_dreq_num(uart, is_tx); in uart_get_dreq()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_spi/include/hardware/ |
D | spi.h | 135 #define SPI_DREQ_NUM(spi, is_tx) (DREQ_SPI0_TX + SPI_NUM(spi) * 2 + !(is_tx)) argument 428 static inline uint spi_get_dreq(spi_inst_t *spi, bool is_tx) { in spi_get_dreq() argument 429 return SPI_DREQ_NUM(spi, is_tx); in spi_get_dreq()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_i2c/include/hardware/ |
D | i2c.h | 195 #define I2C_DREQ_NUM(i2c,is_tx) (DREQ_I2C0_TX + I2C_NUM(i2c) * 2 + !(is_tx)) argument 458 static inline uint i2c_get_dreq(i2c_inst_t *i2c, bool is_tx) { in i2c_get_dreq() argument 459 return I2C_DREQ_NUM(i2c, is_tx); in i2c_get_dreq()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/include/hardware/ |
D | pio.h | 218 #define PIO_DREQ_NUM(pio, sm, is_tx) ((sm) + (((is_tx) ? 0 : NUM_PIO_STATE_MACHINES) + PIO_NUM(pio)… argument 884 static inline uint pio_get_dreq(PIO pio, uint sm, bool is_tx) { in pio_get_dreq() argument 887 return PIO_DREQ_NUM(pio, sm, is_tx); in pio_get_dreq()
|