Searched refs:NUM_PIO_STATE_MACHINES (Results 1 – 4 of 4) sorted by relevance
| /external/platform/pico/rp2040/hardware_structs/include/hardware/structs/ |
| A D | pio.h | 119 io_wo_32 txf[NUM_PIO_STATE_MACHINES]; // 4 125 io_ro_32 rxf[NUM_PIO_STATE_MACHINES]; // 4 163 pio_sm_hw_t sm[NUM_PIO_STATE_MACHINES]; // 4 281 static_assert( NUM_PIO_STATE_MACHINES == 4, "");
|
| /external/platform/pico/rp2_common/hardware_pio/ |
| A D | pio.c | 20 static_assert(NUM_PIO_STATE_MACHINES * NUM_PIOS <= 8, ""); 27 … hw_claim_or_assert(&claimed, NUM_PIO_STATE_MACHINES + sm, "PIO 1 SM (%d - 4) already claimed"); in pio_sm_claim() 42 hw_claim_clear(&claimed, which * NUM_PIO_STATE_MACHINES + sm); in pio_sm_unclaim() 48 uint base = which * NUM_PIO_STATE_MACHINES; in pio_claim_unused_sm() 50 … base + NUM_PIO_STATE_MACHINES - 1, "No PIO state machines are available"); in pio_claim_unused_sm() 57 return hw_is_claimed(&claimed, which * NUM_PIO_STATE_MACHINES + sm); in pio_sm_is_claimed()
|
| /external/platform/pico/rp2040/hardware_regs/include/hardware/ |
| A D | platform_defs.h | 26 #define NUM_PIO_STATE_MACHINES _u(4) macro
|
| /external/platform/pico/rp2_common/hardware_pio/include/hardware/ |
| A D | pio.h | 110 valid_params_if(PIO, sm < NUM_PIO_STATE_MACHINES); in check_sm_param() 114 valid_params_if(PIO, mask < (1u << NUM_PIO_STATE_MACHINES)); in check_sm_mask() 450 static_assert(DREQ_PIO0_RX0 == DREQ_PIO0_TX0 + NUM_PIO_STATE_MACHINES, ""); in pio_get_dreq() 451 static_assert(DREQ_PIO1_RX0 == DREQ_PIO1_TX0 + NUM_PIO_STATE_MACHINES, ""); in pio_get_dreq() 454 … return sm + (is_tx ? 0 : NUM_PIO_STATE_MACHINES) + (pio == pio0 ? DREQ_PIO0_TX0 : DREQ_PIO1_TX0); in pio_get_dreq()
|
Completed in 7 milliseconds