proxmark3/common/usart.h

14 lines
275 B
C
Raw Normal View History

#ifndef __USART_H
#define __USART_H
#include <stddef.h>
#include "proxmark3.h"
void usart_init(void);
void usart_close(void);
int16_t usart_readbuffer(uint8_t *data, size_t len);
int16_t usart_writebuffer(uint8_t *data, size_t len);
bool usart_dataavailable(void);
#endif