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

Structure for configuring the RF functions of the Astrodev radio. More...

#include <astrodev.h>

Public Attributes

uint8_t front_end_level
 The amplification level of the front end of the radio.
 
uint8_t power_amp_level
 The amplification level of the power amplifier of the radio.
 
uint16_t tx_freq
 The transmit frequency offset.
 
uint16_t rx_freq
 The recieve frequency offset.
 

Detailed Description

Structure for configuring the RF functions of the Astrodev radio.

This defines the structure of Astrodev RF configuration settings. These settings various aspects of the RF characteristics of 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 five members and is 8 bytes in size. These members are the power level of the front end (front_end_level), the power level of the amplifier (power_amp_level), the transmit frequency (tx_freq), the receive frequency (rx_freq), and an unknown member (cs).

Todo:
Verify the size of the struct.

A diagram of the struct is included below.

 1 byte            1 byte            2 bytes   2 bytes
 +-----------------+-----------------+---------+---------+
 | front_end_level | power_amp_level | tx_freq | rx_freq |
 +-----------------+-----------------+---------+---------+

Member Data Documentation

◆ front_end_level

uint8_t Artemis::Devices::Astrodev::rf_config::front_end_level

The amplification level of the front end of the radio.

This defines the amplification level of the front end of the radio. Possible options range from:

  • 0: Minimum amplification
  • 63: Maximum amplification

◆ power_amp_level

uint8_t Artemis::Devices::Astrodev::rf_config::power_amp_level

The amplification level of the power amplifier of the radio.

This defines the amplification level of the power amplifier of the radio. This value is non-linear. Possible options range from:

  • 0: Minimum amplification
  • 255: Maximum amplification

◆ rx_freq

uint16_t Artemis::Devices::Astrodev::rf_config::rx_freq

The recieve frequency offset.

This defines the offset from the recieve operating frequency. Possible options range from:

  • 0: No frequency offset
  • 20000: 20kHz frequency offset

    Todo:

    This might be confused with the recieve operating frequency.

    This is a 2-byte value, but the reference struct is 4 bytes.

◆ tx_freq

uint16_t Artemis::Devices::Astrodev::rf_config::tx_freq

The transmit frequency offset.

This defines the offset from the transmit operating frequency. Possible options range from:

  • 0: No frequency offset
  • 20000: 20kHz frequency offset

    Todo:

    This might be confused with the transmit operating frequency.

    This is a 2-byte value, but the reference struct is 4 bytes.


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