mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
CHG: the thread comms refactoring from offical pm3 repo
chg: FPC com speed limited to 115200 when compiled with FPC chg: USART remake (@drandreas)
This commit is contained in:
parent
eb0b5116a2
commit
24eaac8681
45 changed files with 915 additions and 949 deletions
|
@ -4,18 +4,9 @@
|
|||
#include <stddef.h>
|
||||
#include "proxmark3.h"
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
|
||||
extern void Dbprintf(const char *fmt, ...);
|
||||
|
||||
void usart_init(void);
|
||||
void usart_close(void);
|
||||
|
||||
uint32_t usart_rx_ready();
|
||||
uint32_t usart_tx_ready();
|
||||
|
||||
uint8_t usart_read(uint32_t timeout);
|
||||
uint8_t usart_readbuffer(uint8_t *data, size_t len);
|
||||
|
||||
void usart_write( uint8_t data, uint32_t timeout);
|
||||
uint8_t usart_writebuffer(uint8_t *data, size_t len, uint32_t timeout);
|
||||
int usart_readbuffer(uint8_t *data, size_t len);
|
||||
int16_t usart_writebuffer(uint8_t *data, size_t len);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue