GR712RC unit tests 1.0
Bare-metal C++ hardware tests for the PLATO DPU (IAA-CSIC, 2019)
Loading...
Searching...
No Matches
mcal::uart::uart_communication< port_type, bval_type, port > Class Template Reference

#include <mcal_uart.h>

Public Types

typedef std::uint32_t addr_type
typedef std::uint32_t reg_type

Public Member Functions

 uart_communication ()
bool send (const bval_type byte_to_send)
template<typename send_iterator_type>
bool send_n (send_iterator_type first, send_iterator_type last)
bool recv (bval_type &byte_to_recv)
bool receive_ready ()

Detailed Description

template<typename port_type, typename bval_type, port_type port>
class mcal::uart::uart_communication< port_type, bval_type, port >

Definition at line 35 of file mcal_uart.h.

Member Typedef Documentation

◆ addr_type

template<typename port_type, typename bval_type, port_type port>
typedef std::uint32_t mcal::uart::uart_communication< port_type, bval_type, port >::addr_type

Definition at line 38 of file mcal_uart.h.

◆ reg_type

template<typename port_type, typename bval_type, port_type port>
typedef std::uint32_t mcal::uart::uart_communication< port_type, bval_type, port >::reg_type

Definition at line 39 of file mcal_uart.h.

Constructor & Destructor Documentation

◆ uart_communication()

template<typename port_type, typename bval_type, port_type port>
mcal::uart::uart_communication< port_type, bval_type, port >::uart_communication ( )
inline

Definition at line 41 of file mcal_uart.h.

Member Function Documentation

◆ receive_ready()

template<typename port_type, typename bval_type, port_type port>
bool mcal::uart::uart_communication< port_type, bval_type, port >::receive_ready ( )
inline

Definition at line 120 of file mcal_uart.h.

◆ recv()

template<typename port_type, typename bval_type, port_type port>
bool mcal::uart::uart_communication< port_type, bval_type, port >::recv ( bval_type & byte_to_recv)
inline

Definition at line 110 of file mcal_uart.h.

◆ send()

template<typename port_type, typename bval_type, port_type port>
bool mcal::uart::uart_communication< port_type, bval_type, port >::send ( const bval_type byte_to_send)
inline

Definition at line 66 of file mcal_uart.h.

◆ send_n()

template<typename port_type, typename bval_type, port_type port>
template<typename send_iterator_type>
bool mcal::uart::uart_communication< port_type, bval_type, port >::send_n ( send_iterator_type first,
send_iterator_type last )
inline

Definition at line 83 of file mcal_uart.h.


The documentation for this class was generated from the following file: