// -------------------------------------------------- // // This file is autogenerated by pioasm; do not edit! // // -------------------------------------------------- // #pragma once #if !PICO_NO_HARDWARE #include "hardware/pio.h" #endif // ---- // // fmes // // ---- // #define fmes_wrap_target 0 #define fmes_wrap 9 static const uint16_t fmes_program_instructions[] = { // .wrap_target 0xa0c9, // 0: mov isr, !x 0x8020, // 1: push block 0xa02b, // 2: mov x, !null 0x2020, // 3: wait 0 pin, 0 0x20a0, // 4: wait 1 pin, 0 0x0146, // 5: jmp x--, 6 [1] 0x00c5, // 6: jmp pin, 5 0x0048, // 7: jmp x--, 8 0x00c0, // 8: jmp pin, 0 0x0007, // 9: jmp 7 // .wrap }; #if !PICO_NO_HARDWARE static const struct pio_program fmes_program = { .instructions = fmes_program_instructions, .length = 10, .origin = 0, }; static inline pio_sm_config fmes_program_get_default_config(uint offset) { pio_sm_config c = pio_get_default_sm_config(); sm_config_set_wrap(&c, offset + fmes_wrap_target, offset + fmes_wrap); return c; } #endif