![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Typedefs | |
| using | LinuxSpiDriver = LinuxSpiDriverComponentImpl |
| typedef TcpClientComponentImpl | TcpClient |
| typedef TcpServerComponentImpl | TcpServer |
| typedef UdpComponentImpl | Udp |
Enumerations | |
| enum | SocketIpStatus { SOCK_SUCCESS = 0, SOCK_FAILED_TO_GET_SOCKET = -1, SOCK_FAILED_TO_GET_HOST_IP = -2, SOCK_INVALID_IP_ADDRESS = -3, SOCK_FAILED_TO_CONNECT = -4, SOCK_FAILED_TO_SET_SOCKET_OPTIONS = -5, SOCK_INTERRUPTED_TRY_AGAIN = -6, SOCK_READ_ERROR = -7, SOCK_DISCONNECTED = -8, SOCK_FAILED_TO_BIND = -9, SOCK_FAILED_TO_LISTEN = -10, SOCK_FAILED_TO_ACCEPT = -11, SOCK_SEND_ERROR = -13, SOCK_NOT_STARTED = -14, SOCK_FAILED_TO_READ_BACK_PORT = -15, SOCK_NO_DATA_AVAILABLE = -16, SOCK_ANOTHER_THREAD_OPENING = -17, SOCK_AUTO_CONNECT_DISABLED = -18, SOCK_INVALID_CALL = -19 } |
| Status enumeration for socket return values. More... | |
| enum | SpiFrequency { SPI_FREQUENCY_1MHZ = 1000000UL, SPI_FREQUENCY_5MHZ = 5000000UL, SPI_FREQUENCY_10MHZ = 10000000UL, SPI_FREQUENCY_15MHZ = 15000000UL, SPI_FREQUENCY_20MHZ = 20000000UL } |
| enum | SpiMode { SPI_MODE_CPOL_LOW_CPHA_LOW, SPI_MODE_CPOL_LOW_CPHA_HIGH, SPI_MODE_CPOL_HIGH_CPHA_LOW, SPI_MODE_CPOL_HIGH_CPHA_HIGH } |
Functions | |
| Os::File::Status | errno_to_file_status (int errno_input) |
| Drv::GpioStatus | errno_to_gpio_status (int errno_input) |
| U32 | configuration_to_handler_flags (Drv::LinuxGpioDriver::GpioConfiguration configuration) |
| U32 | configuration_to_event_flags (Drv::LinuxGpioDriver::GpioConfiguration configuration) |
| using Drv::LinuxSpiDriver = typedef LinuxSpiDriverComponentImpl |
Definition at line 13 of file LinuxSpiDriver.hpp.
| typedef TcpClientComponentImpl Drv::TcpClient |
Definition at line 13 of file TcpClient.hpp.
| typedef TcpServerComponentImpl Drv::TcpServer |
Definition at line 13 of file TcpServer.hpp.
| typedef UdpComponentImpl Drv::Udp |
| enum Drv::SocketIpStatus |
Status enumeration for socket return values.
Definition at line 29 of file IpSocket.hpp.
| enum Drv::SpiFrequency |
This was taken from the dspal_tester example
Supported SPI frequency to talk to MPU9x50 slave device MPU9x50 SPI interface supports upto 20MHz frequency. However 20MHz is not reliable in our test and corrupted data is observed.
| Enumerator | |
|---|---|
| SPI_FREQUENCY_1MHZ | |
| SPI_FREQUENCY_5MHZ | |
| SPI_FREQUENCY_10MHZ | |
| SPI_FREQUENCY_15MHZ | |
| SPI_FREQUENCY_20MHZ | |
Definition at line 27 of file LinuxSpiDriverComponentImpl.hpp.
| enum Drv::SpiMode |
SPI Mode Select
Defines the SPI Clock Polarity and Phase for each SPI Transaction.
SPI Clock Polarity(CPOL): Defines clock polarity as idle low (CPOL = 0) or idle high(CPOL = 1) SPI Clock Phase(CPHA): Defines if data is shifted out on the rising clock edge and sampled on the falling clock edge(CPHA = 0) or if data is shifted out on the falling clock edge and sampled on the rising clock edge(CPHA=1)
Definition at line 46 of file LinuxSpiDriverComponentImpl.hpp.
| U32 Drv::configuration_to_event_flags | ( | Drv::LinuxGpioDriver::GpioConfiguration | configuration | ) |
Definition at line 106 of file LinuxGpioDriver.cpp.
| U32 Drv::configuration_to_handler_flags | ( | Drv::LinuxGpioDriver::GpioConfiguration | configuration | ) |
Definition at line 86 of file LinuxGpioDriver.cpp.
| Os::File::Status Drv::errno_to_file_status | ( | int | errno_input | ) |
Definition at line 28 of file LinuxGpioDriver.cpp.
| Drv::GpioStatus Drv::errno_to_gpio_status | ( | int | errno_input | ) |
Definition at line 64 of file LinuxGpioDriver.cpp.