PIO module of PicoRuby
Type aliases
pio_num_t
0 | 1
fifo_join_t
0 | 1 | 2
jmp_condition_t
:always | :not_x | :x_dec | :not_y | :y_dec | :x_ne_y | :pin | :not_osre
wait_source_t
:gpio | :pin | :irq
in_source_t
:pins | :x | :y | :null | :isr | :osr
out_dest_t
:pins | :x | :y | :null | :pindirs | :pc | :isr | :exec
mov_dest_t
:pins | :x | :y | :exec | :pc | :isr | :osr
mov_source_t
:pins | :x | :y | :null | :status | :isr | :osr
mov_op_t
:none | :invert | :reverse
set_dest_t
:pins | :x | :y | :pindirs
Singleton methods
asm
PIO.asm(?side_set: Integer, ?side_set_optional: bool) { (?) -> void } -> Program