1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2025-02-19 12:05:23 +01:00
2024-04-29 17:44:18 +08:00

26 lines
426 B
C

/*
* Bandai Namco Protocol
* WHowe <github.com/whowechina>
*/
#ifndef BANA_H
#define BANA_H
#include <stdint.h>
#include <stdbool.h>
/* return true if accepts a byte, false if rejects */
typedef void (*bana_putc_func)(uint8_t byte);
void bana_init(bana_putc_func putc_func);
bool bana_feed(int c);
/* if bana is currently active */
bool bana_is_active();
uint32_t bana_led_color();
#endif