7 * mm_switch_command - Callback function!
9 * This function must be defined whenever the mm_switch module is used.
10 * It will be called from interrupt context whenever a new valid command
13 * decoder is in the range from 1 to 25. Other values will not occur.
15 * key is in the range from 0 to 8:
17 * 1 - key1 green pressed
18 * 2 - key1 red pressed
19 * 3 - key2 green pressed
20 * 4 - key2 red pressed
25 void mm_switch_command(uint8_t decoder
, uint8_t key
);
30 void mm_switch_drive_cb(uint8_t address
, uint8_t speed
, uint8_t functions
, uint8_t flags
);
32 void mm_switch_drive(uint8_t decoder
, uint8_t function
, uint8_t command
);
34 void mm_pinchange_handler(void);