Lines Matching refs:pioasm
34 %param { pio_assembler& pioasm }
169 lines END { if (pioasm.error_count || pioasm.write_output()) YYABORT; }
177 …PROGRAM ID { if (!pioasm.add_program(@$, $2)) { std::stringstream…
179 …| instruction { pioasm.get_current_program(@1, "instruction").add_…
180 …| label_decl instruction { auto &p = pioasm.get_current_program(@2, "instruct…
181 …| label_decl { pioasm.get_current_program(@1, "label").add_label(…
184 …| error { if (pioasm.error_count > 6) { std::cerr << "\ntoo …
188 …{ std::string of = $1; if (of.empty()) of = output_format::default_name; pioasm.get_current_progra…
195 …DEFINE symbol_def expression { $2->is_label = false; $2->value = $3; pioasm.get_current_progr…
196 …| ORIGIN value { pioasm.get_current_program(@1, ".origin", true).set_origin(@…
197 …| PIO_VERSION pio_version { pioasm.get_current_program(@1, ".pio_version", true, false).…
198 …| SIDE_SET value OPTIONAL PINDIRS { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
199 …| SIDE_SET value OPTIONAL { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
200 …| SIDE_SET value PINDIRS { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
201 …| SIDE_SET value { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
202 …| DOT_IN value direction autop threshold { pioasm.get_current_program(@1, ".in", true).set_in(@$, …
203 …| DOT_OUT value direction autop threshold { pioasm.get_current_program(@1, ".out", true).set_out(@…
204 …| DOT_SET value { pioasm.get_current_program(@1, ".set", true).set_set_count(@…
205 …| WRAP_TARGET { pioasm.get_current_program(@1, ".wrap_target").set_wrap_targ…
206 | WRAP { pioasm.get_current_program(@1, ".wrap").set_wrap(@$); }
207 …| WORD value { pioasm.get_current_program(@1, "instruction").add_instructio…
208 …| LANG_OPT NON_WS NON_WS ASSIGN INT { pioasm.get_current_program(@1, ".lang_opt").add_lang_opt($2…
209 …| LANG_OPT NON_WS NON_WS ASSIGN STRING { pioasm.get_current_program(@1, ".lang_opt").add_lang_opt(…
210 …| LANG_OPT NON_WS NON_WS ASSIGN NON_WS { pioasm.get_current_program(@1, ".lang_opt").add_lang_opt(…
212 …| CLOCK_DIV INT { pioasm.get_current_program(@1, ".clock_div").set_clock_div(@…
213 …| CLOCK_DIV FLOAT { pioasm.get_current_program(@1, ".clock_div").set_clock_div(@…
214 …| FIFO fifo_config { pioasm.get_current_program(@1, ".fifo", true).set_fifo_confi…
215 …| MOV_STATUS TXFIFO LESSTHAN value { pioasm.get_current_program(@1, ".mov_status", true).set_mov_…
216 …| MOV_STATUS RXFIFO LESSTHAN value { pioasm.get_current_program(@1, ".mov_status", true).set_mov_…
217 …| MOV_STATUS IRQ NEXT SET value { pioasm.get_current_program(@1, ".mov_status", true).set…
218 …| MOV_STATUS IRQ PREV SET value { pioasm.get_current_program(@1, ".mov_status", true).set…
219 …| MOV_STATUS IRQ SET value { pioasm.get_current_program(@1, ".mov_status", true).set_mov_…
270 …| IRQ PREV irq_modifiers value { pioasm.check_version(1, @$, "irq prev"); $…
271 …| IRQ NEXT irq_modifiers value { pioasm.check_version(1, @$, "irq next"); $…
272 …| IRQ PREV irq_modifiers value REL { pioasm.check_version(1, @$, "irq prev"); e…
273 …| IRQ NEXT irq_modifiers value REL { pioasm.check_version(1, @$, "irq next"); e…
300 …| IRQ PREV comma value { pioasm.check_version(1, @$, "irq prev"); $$ = std::shared_ptr<wait_sou…
301 …| IRQ NEXT comma value { pioasm.check_version(1, @$, "irq next"); $$ = std::shared_ptr<wait_sou…
302 …| IRQ PREV comma value REL { pioasm.check_version(1, @$, "irq prev"); error(@5, "'rel' is not supp…
303 …| IRQ NEXT comma value REL { pioasm.check_version(1, @$, "irq next"); error(@5, "'rel' is not supp…
307 …| JMPPIN { pioasm.check_version(1, @$, "wait jmppin"); $$ = std::shared_ptr<wait_…
308 …| JMPPIN PLUS value { pioasm.check_version(1, @$, "wait jmppin"); $$ = std::shared_ptr<wait_…
309 …| %empty { error(@0, pioasm.version_string(1, "expected irq, gpio, pin or jmp_pin…
315 | TXPUT { pioasm.check_version(1, @$, "txput"); $$ = fifo_config::txput; }
316 | TXGET { pioasm.check_version(1, @$, "rxput"); $$ = fifo_config::txget; }
317 | PUTGET { pioasm.check_version(1, @$, "putget"); $$ = fifo_config::putget; }
318 …| %empty { error(@0, pioasm.version_string(1, "expected txrx, tx, rx, txput, rxget or putget", …
350 | PINDIRS { pioasm.check_version(1, @$, "mov pindirs"); $$ = mov::pindirs; }
351 … | RXFIFO LBRACKET Y RBRACKET { pioasm.check_version(1, @$, "mov rxfifo[], "); $$ = mov::fifo_y; }
352 …| RXFIFO LBRACKET value RBRACKET { pioasm.check_version(1, @$, "mov rxfifo[], "); $$ = extended_mo…
362 … | RXFIFO LBRACKET Y RBRACKET { pioasm.check_version(1, @$, "mov rxfifo[], "); $$ = mov::fifo_y; }
363 …| RXFIFO LBRACKET value RBRACKET { pioasm.check_version(1, @$, "mov rxfifo[], "); $$ = extended_mo…
429 pioasm.error_count++;