|
GR712RC unit tests 1.0
Bare-metal C++ hardware tests for the PLATO DPU (IAA-CSIC, 2019)
|
#include <mcal_spw.h>
Public Types | |
| typedef std::uint32_t | addr_type |
| typedef std::uint32_t | reg_type |
| typedef std::uint32_t * | recv_descriptor_type |
| typedef std::uint32_t * | send_descriptor_type |
| typedef std::uint32_t * | header_buffer_type |
| typedef std::uint32_t * | data_buffer_type |
| typedef std::uint32_t * | packet_buffer_type |
Public Member Functions | |
| spw_communication () | |
| Init the Spacewire IP Core. | |
| bool | link_state () |
| std::uint32_t | get_link_status () |
| bool | send (const bval_type byte_to_send) |
| Add data to the actual descriptor and enable the transfer. | |
| 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 () |
| bool | configure_send_descriptors (std::uint32_t number_descriptors) |
| bool | configure_recv_descriptors (std::uint32_t number_descriptors) |
Definition at line 25 of file mcal_spw.h.
| typedef std::uint32_t mcal::spw::spw_communication< port_type, bval_type, port >::addr_type |
Definition at line 28 of file mcal_spw.h.
| typedef std::uint32_t* mcal::spw::spw_communication< port_type, bval_type, port >::data_buffer_type |
Definition at line 42 of file mcal_spw.h.
| typedef std::uint32_t* mcal::spw::spw_communication< port_type, bval_type, port >::header_buffer_type |
Definition at line 41 of file mcal_spw.h.
| typedef std::uint32_t* mcal::spw::spw_communication< port_type, bval_type, port >::packet_buffer_type |
Definition at line 43 of file mcal_spw.h.
| typedef std::uint32_t* mcal::spw::spw_communication< port_type, bval_type, port >::recv_descriptor_type |
Definition at line 38 of file mcal_spw.h.
| typedef std::uint32_t mcal::spw::spw_communication< port_type, bval_type, port >::reg_type |
Definition at line 29 of file mcal_spw.h.
| typedef std::uint32_t* mcal::spw::spw_communication< port_type, bval_type, port >::send_descriptor_type |
Definition at line 39 of file mcal_spw.h.
|
inline |
Init the Spacewire IP Core.
Definition at line 49 of file mcal_spw.h.
|
inline |
Definition at line 263 of file mcal_spw.h.
|
inline |
Definition at line 235 of file mcal_spw.h.
|
inline |
Definition at line 99 of file mcal_spw.h.
|
inline |
Definition at line 94 of file mcal_spw.h.
|
inline |
Definition at line 223 of file mcal_spw.h.
|
inline |
Definition at line 204 of file mcal_spw.h.
|
inline |
Add data to the actual descriptor and enable the transfer.
Definition at line 111 of file mcal_spw.h.
|
inline |
Definition at line 165 of file mcal_spw.h.