These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
RS485_Master
Functions | |
void | UART_IntReceive (void) |
UART receive function (ring buffer used) | |
void | UART_IntErr (uint8_t bLSErrType) |
UART Line Status Error. | |
uint32_t | UARTReceive (LPC_UART_TypeDef *UARTPort, uint8_t *rxbuf, uint8_t buflen) |
UART read function for interrupt mode (using ring buffers) | |
void | print_menu (void) |
Print Welcome menu. | |
int | c_entry (void) |
c_entry: Main UART-RS485 program body |
Function Documentation
int c_entry | ( | void | ) |
c_entry: Main UART-RS485 program body
- Parameters:
-
[in] None
- Returns:
- int
Definition at line 231 of file rs485_master.c.
void print_menu | ( | void | ) |
Print Welcome menu.
Print menu.
- Parameters:
-
[in] none
- Returns:
- None
Definition at line 114 of file adc_burst_test.c.
void UART_IntErr | ( | uint8_t | bLSErrType ) |
UART Line Status Error.
- Parameters:
-
[in] bLSErrType UART Line Status Error Type
- Returns:
- None
void UART_IntReceive | ( | void | ) |
UART receive function (ring buffer used)
- Parameters:
-
[in] None
- Returns:
- None
uint32_t UARTReceive | ( | LPC_UART_TypeDef * | UARTPort, |
uint8_t * | rxbuf, | ||
uint8_t | buflen | ||
) |
UART read function for interrupt mode (using ring buffers)
- Parameters:
-
[in] UARTPort Selected UART peripheral used to send data, should be UART0 [out] rxbuf Pointer to Received buffer [in] buflen Length of Received buffer
- Returns:
- Number of bytes actually read from the ring buffer
Generated on Tue Jul 12 2022 17:28:11 by 1.7.2