sxkbd

Firmware for RP2040-based corne split keyboard
git clone https://git.sinitax.com/sinitax/sxkbd
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

uart_tx.pio (294B)


      1.program uart_tx
      2.side_set 1 opt
      3
      4.wrap_target
      5    pull    block           side 1      [7]     ; IDLE / STOP bit
      6    set     x, 7            side 0      [7]     ; START bit
      7bitloop:
      8    out     pins, 1                             ; 8 DATA bits
      9    jmp     x--, bitloop                [6]
     10.wrap