1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2025-02-23 05:29:29 +01:00

22 lines
379 B
C
Raw Normal View History

2023-11-01 20:41:25 +08:00
/*
* AIME Reader
* WHowe <github.com/whowechina>
*/
#ifndef AIME_H
#define AIME_H
2023-11-05 21:23:28 +08:00
/* return true if accepts a byte, false if rejects */
typedef void (*aime_putc_func)(uint8_t byte);
void aime_init(aime_putc_func putc_func);
bool aime_feed(int c);
2023-11-01 20:41:25 +08:00
uint32_t aime_led_color();
// mode 0 or 1
void aime_set_baudrate(int mode);
void aime_set_virtual_aic(bool enable);
#endif