PHiLIP
uart.h File Reference

Controls the uart peripherals. More...

Go to the source code of this file.

Macros

#define UART_IF_BUF_SIZE   (1024)
 Size allocated for if uart buffer.
 
#define UART_DUT_BUF_SIZE   (128)
 Size allocated for dut uart buffer.
 

Functions

void init_dut_uart (map_t *reg)
 Initializes dut uart registers. More...
 
void init_if_uart ()
 Initializes interface uart registers.
 
error_t commit_dut_uart ()
 Commits the dut uart registers and executes operations. More...
 
error_t poll_dut_uart ()
 Polls for any commands from the dut uart. More...
 
error_t poll_if_uart ()
 Polls for any commands from the interface uart. More...
 
void update_dut_uart_inputs ()
 Updates the uart input levels.
 
void GPIO_CTS_INT ()
 This function handles dut_cts event interrupt.
 
void init_dut_uart_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 
void deinit_dut_uart_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 
void init_if_uart_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 
void deinit_if_uart_msp ()
 Only for use with the STM32xxxx_HAL_Driver.
 

Detailed Description

Controls the uart peripherals.

Author
Kevin Weiss
Yegor Yefremov
Date
13.02.2019