Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
|
Structure for configuring the Astrodev radio. More...
#include <astrodev.h>
Public Attributes | |
uint8_t | interface_baud_rate |
The baud rate of the radio's serial interface. | |
uint8_t | power_amp_level |
The transmit power amplifier level. | |
uint8_t | rx_baud_rate |
The RF receive baud rate. | |
uint8_t | tx_baud_rate |
The RF transmit baud rate. | |
Devices::Astrodev::Modulation | rx_modulation |
The modulation for the receiver. | |
Devices::Astrodev::Modulation | tx_modulation |
The modulation for the transmitter. | |
uint32_t | rx_frequency |
The operating frequency for the receiver. | |
uint32_t | tx_frequency |
The operating frequency for the transmitter. | |
uint8_t | ax25_source [6] |
AX25 mode source call sign. | |
uint8_t | ax25_destination [6] |
AX25 mode destination call sign. | |
uint16_t | ax25_preamble_length |
AX25 Mode transmit preamble length. | |
uint16_t | ax25_postamble_length |
AX25 Mode transmit postamble length. | |
function_config1 | config1 |
Discrete radio function configuration. | |
function_config2 | config2 |
More discrete radio function configuration. | |
Structure for configuring the Astrodev radio.
This defines the full structure of Astrodev radio configuration settings. These settings are more complex, defining settings that contain numberical configuration values for the transceiver. This stucture is sent as the payload of a packet from the Teensy to the Astrodev radio to configure the radio.
This struct consists of 14 members and is 188 bits in size. Because of the large number of members, they are not summarized in this top-level description. See the definition of this structure for the member summaries.A diagram of the struct is included below.
Bytes 0-3 1 byte 1 byte 1 byte 1 byte +---------------------+-----------------+--------------+--------------+ | interface_baud_rate | power_amp_level | rx_baud_rate | tx_baud_rate | +---------------------+-----------------+--------------+--------------+ Bytes 4-7 1 byte 1 byte 2 bytes +---------------+---------------+-------------- | rx_modulation | tx_modulation | rx_frequency ... +---------------+---------------+-------------- Bytes 8-11 2 bytes 2 bytes ---------------+--------------- ... rx_frequency | tx_frequency ... ---------------+--------------- Bytes 12-15 2 bytes 6 bits 6 bits 4 bits ---------------+---------------+--------------------+---------------------- ... tx_frequency | ax25_source[] | ax25_destination[] | ax25_preamble_length ... ---------------+---------------+--------------------+---------------------- Bytes 16-19 12 bits 2 bytes 4 bits -----------------------+-----------------------+--------- ... ax25_preamble_length | ax25_postamble_length | config1 ... -----------------------+-----------------------+--------- Bytes 20-23 12 bits 2 bytes ----------+---------+ ... config1 | config2 | ----------+---------+
uint8_t Artemis::Devices::Astrodev::tcv_config::ax25_destination[6] |
AX25 mode destination call sign.
This 6-character array defines the destination call sign for AX25 mode.
uint16_t Artemis::Devices::Astrodev::tcv_config::ax25_postamble_length |
AX25 Mode transmit postamble length.
This defines the length of the transmit postamble for AX25 mode.
uint16_t Artemis::Devices::Astrodev::tcv_config::ax25_preamble_length |
AX25 Mode transmit preamble length.
This defines the length of the transmit preamble for AX25 mode.
uint8_t Artemis::Devices::Astrodev::tcv_config::ax25_source[6] |
AX25 mode source call sign.
This 6-character array defines the source call sign for AX25 mode.
function_config1 Artemis::Devices::Astrodev::tcv_config::config1 |
Discrete radio function configuration.
This defines discrete radio functions that use short fields.
function_config2 Artemis::Devices::Astrodev::tcv_config::config2 |
More discrete radio function configuration.
This defines more discrete radio functions that use short fields.
uint8_t Artemis::Devices::Astrodev::tcv_config::interface_baud_rate |
uint8_t Artemis::Devices::Astrodev::tcv_config::power_amp_level |
The transmit power amplifier level.
This defines the power amplification level for the transmitter on the radio. Possible options range from:
uint8_t Artemis::Devices::Astrodev::tcv_config::rx_baud_rate |
The RF receive baud rate.
This defines the baud rate for the radio's RF receiver. Possible options are:
uint32_t Artemis::Devices::Astrodev::tcv_config::rx_frequency |
The operating frequency for the receiver.
This defines the operating frequency for the receive section of the radio. This value is a 4-byte integer.
Devices::Astrodev::Modulation Artemis::Devices::Astrodev::tcv_config::rx_modulation |
The modulation for the receiver.
This defines the type of modulation for the receive section of the radio. This value is set using macros.
uint8_t Artemis::Devices::Astrodev::tcv_config::tx_baud_rate |
The RF transmit baud rate.
This defines the baud rate for the radio's RF transmitter. Possible options are:
uint32_t Artemis::Devices::Astrodev::tcv_config::tx_frequency |
The operating frequency for the transmitter.
This defines the operating frequency for the transmit section of the radio. This value is a 4-byte integer.
Devices::Astrodev::Modulation Artemis::Devices::Astrodev::tcv_config::tx_modulation |
The modulation for the transmitter.
This defines the type of modulation for the transmit section of the radio. This value is set using macros.