Prusa-Firmware/Firmware/mmu.h

54 lines
1.1 KiB
C

//mmu.h
#include <inttypes.h>
extern bool mmu_enabled;
extern uint8_t mmu_extruder;
extern int8_t mmu_finda;
extern int16_t mmu_version;
extern int mmu_puts_P(const char* str);
extern int mmu_printf_P(const char* format, ...);
extern int8_t mmu_rx_ok(void);
extern bool mmu_init(void);
extern bool mmu_reset(void);
extern int8_t mmu_read_finda(void);
extern int16_t mmu_read_version(void);
extern void extr_mov(float shift, float feed_rate);
extern void change_extr(int extr);
extern int get_ext_nr();
extern void display_loading();
extern void extr_adj(int extruder);
extern void extr_unload();
extern void extr_adj_0();
extern void extr_adj_1();
extern void extr_adj_2();
extern void extr_adj_3();
extern void extr_adj_4();
extern void load_all();
extern void extr_change_0();
extern void extr_change_1();
extern void extr_change_2();
extern void extr_change_3();
extern void extr_unload_all();
extern void extr_unload_used();
extern void extr_unload_0();
extern void extr_unload_1();
extern void extr_unload_2();
extern void extr_unload_3();
extern void extr_unload_4();