Declaration of uart serialize interface.
Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | BAUD_RATE 38400ul |
#define | INFINITE true |
#define | USE_USART0 1 |
#define | USE_USART1 0 |
Functions | |
bool | getByteUsart (uint8_t *p) |
Receive byte on uart. More... | |
void | hwInitUsart0 (void) |
Startup initialization of the usart0. More... | |
void | hwUnInitUsart0 (void) |
Clear startup initialization parameters to start user application. More... | |
void | setByteUsart (uint16_t len, uint8_t *p) |
Transmit byte to uart. More... | |
void | usart_disable0 (void) |
#define BAUD_RATE 38400ul |
#define INFINITE true |
Referenced by srecParser(), srecWaitForAddress(), and srecWaitForType().
#define USE_USART0 1 |
#define USE_USART1 0 |
bool getByteUsart | ( | uint8_t * | p | ) |
Receive byte on uart.
[out] | p | - pointer to byte memory; |
void hwInitUsart0 | ( | void | ) |
Startup initialization of the usart0.
void hwUnInitUsart0 | ( | void | ) |
Clear startup initialization parameters to start user application.
void setByteUsart | ( | uint16_t | len, |
uint8_t * | p | ||
) |
Transmit byte to uart.
[in] | len | - number of bytes to transmit; |
[in] | p | - pointer to byte memory; |
void usart_disable0 | ( | void | ) |
Referenced by lowLevelUnInit().