2018-08-02 16:54:00 +00:00
|
|
|
//mmu.h
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
|
|
|
|
2018-08-07 18:37:59 +00:00
|
|
|
|
2018-08-02 16:54:00 +00:00
|
|
|
extern bool mmu_enabled;
|
2018-08-07 18:37:59 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2018-08-02 16:54:00 +00:00
|
|
|
|
|
|
|
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();
|