35 #define INS_FORMAT float
76 #define InsLinkDevice (&((INS_LINK).device))
82 #define InsSend1(c) InsLinkDevice->put_byte(InsLinkDevice->periph, c)
83 #define InsUartSend1(c) InsSend1(c)
84 #define InsSend(_dat,_len) { for (uint8_t i = 0; i< (_len); i++) InsSend1(_dat[i]); };
85 #define InsUartSetBaudrate(_b) uart_periph_set_baudrate(INS_LINK, _b)
89 static inline void ins_event_check_and_handle(void (* handler)(void))
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
Integrated Navigation System interface.
volatile uint8_t ins_msg_received
void * periph
pointer to parent implementation
Architecture independent SPI (Serial Peripheral Interface) API.
void handle_ins_msg(void)
get_byte_t get_byte
get a new char
static const struct usb_device_descriptor dev
volatile uint8_t new_ins_attitude
void parse_ins_buffer(uint8_t)
char_available_t char_available
check if a new character is available