Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
Loading...
Searching...
No Matches
Artemis::Devices::Astrodev::function_config2 Struct Reference

Structure for configuring more discrete Astrodev radio functions. More...

#include <astrodev.h>

Public Attributes

uint16_t rx_afc_enable: 1
 Enable receiver Automatic Frequency Control (AFC).
 
uint16_t test_mode_rx_cw: 1
 Enable receive Continuous Wave (CW) mode.
 
uint16_t test_mode_tx_cw: 1
 Enable transmit Continuous Wave (CW) mode.
 
uint16_t test_mode_tbd: 1
 Enable a To-Be-Determined (TBD) test mode.
 
uint16_t zeros: 4
 Padding bits.
 

Detailed Description

Structure for configuring more discrete Astrodev radio functions.

This defines the structure of Astrodev radio configuration settings. These settings are usually small, one- or two-bit settings that would clutter the configuration structure. Therefore, this structure holds them seperately.

This struct consists of five members and is 2 bytes 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.

 2 bytes = 4 nybbles
 +--------------------+
 |  function_config2  |
 +--------------------+

 Nybble 1
 1 bit           1 bit             1 bit             1 bit
 +---------------+-----------------+-----------------+---------------+
 | rx_afc_enable | test_mode_rx_cw | test_mode_tx_cw | test_mode_tbd |
 +---------------+-----------------+-----------------+---------------+

 Nybbles 2-4
 4 bits
 +-------+
 | zeros |
 +-------+

Member Data Documentation

◆ rx_afc_enable

uint16_t Artemis::Devices::Astrodev::function_config2::rx_afc_enable

Enable receiver Automatic Frequency Control (AFC).

Defines whether Automatic Frequency Control for the receive side of the radio should be enabled. Possible options are:

  • 0: Receive AFC off
  • 1: Receive AFC on

◆ test_mode_rx_cw

uint16_t Artemis::Devices::Astrodev::function_config2::test_mode_rx_cw

Enable receive Continuous Wave (CW) mode.

Defines whether Continuous Mode (CW) mode should be enabled for the receive side of the radio. CAUTION: TEST MODE Possible options are:

  • 0: Normal operation
  • 1: Receive CW mode

◆ test_mode_tbd

uint16_t Artemis::Devices::Astrodev::function_config2::test_mode_tbd

Enable a To-Be-Determined (TBD) test mode.

Defines whether to enable a To-Be-Determined test mode. CAUTION: TEST MODE Possible options are:

  • 0: Normal operation
  • 1: TBD test

◆ test_mode_tx_cw

uint16_t Artemis::Devices::Astrodev::function_config2::test_mode_tx_cw

Enable transmit Continuous Wave (CW) mode.

Defines whether Continuous Mode (CW) mode should be enabled for the transmit side of the radio. CAUTION: TEST MODE Possible options are:

  • 0: Normal operation
  • 1: Transmit CW mode

◆ zeros

uint16_t Artemis::Devices::Astrodev::function_config2::zeros

Padding bits.

This field should be set to all zeroes.

Todo:
This is currently 4 bits, but should be 12 bits to fully pad out the struct to 16 bits.

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