// -------------------------------------------------- //
// This file is autogenerated by pioasm; do not edit! //
// -------------------------------------------------- //

#if !PICO_NO_HARDWARE
#include "hardware/pio.h"
#endif

// --- //
// tmp //
// --- //

#define tmp_wrap_target 0
#define tmp_wrap 7

static const uint16_t tmp_program_instructions[] = {
            //     .wrap_target
    0xf881, //  0: set    pindirs, 1      side 1     
    0xf828, //  1: set    x, 8            side 1     
    0x1942, //  2: jmp    x--, 2          side 1 [1] 
    0x99a0, //  3: pull   block           side 1 [1] 
    0xf127, //  4: set    x, 7            side 0 [1] 
    0x6001, //  5: out    pins, 1                    
    0x0045, //  6: jmp    x--, 5                     
    0x1901, //  7: jmp    1               side 1 [1] 
            //     .wrap
};

#if !PICO_NO_HARDWARE
static const struct pio_program tmp_program = {
    .instructions = tmp_program_instructions,
    .length = 8,
    .origin = -1,
};

static inline pio_sm_config tmp_program_get_default_config(uint offset) {
    pio_sm_config c = pio_get_default_sm_config();
    sm_config_set_wrap(&c, offset + tmp_wrap_target, offset + tmp_wrap);
    sm_config_set_sideset(&c, 2, true, false);
    return c;
}
#endif

