SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
satnogs::comms Namespace Reference

Namespaces

namespace  dsp
namespace  lib
namespace  utils

Classes

class  adc_bsp
class  adc_initialization_exception
class  can_enable_exception
class  chrono_bsp
class  dac_bsp
class  device_not_configured_exception
class  device_not_ready_exception
class  error_handler
 Centralized Exception and Error Handling Utility. More...
class  flash_init_exception
class  flash_read_exception
class  gpio_bsp
class  i2c_bsp
class  i2c_bsp_exception
class  io
class  io_wdg
 IO and GS watchdog. More...
class  isotp_bind_exception
class  isotp_recv_exception
class  logger
 A centralized, thread-safe logging utility for the SatNOGS-COMMS MCU software. More...
class  memory_monitor
class  mission
 Mission specific generic callback service. More...
class  msg_arbiter
 Incoming/Outgoing Message Arbiter. More...
class  msgq
class  ota
class  scoped_lock
 Implements a scoped lock utilizing the Zephyr mutex. More...
class  sensor_bsp
class  settings
 Store and retrieve reliably persistent settings. More...
class  spi_bsp
class  spi_bsp_exception
class  spi_manual_cs_bsp
 Same as the spi_bsp but with manual control of the CS line. More...
class  startup
 Firmware initialization helper class. More...
class  storage
class  telecommand
class  telemetry
class  test
class  thermal
 Thermal monitoring. More...
class  time
 Time and position information. More...
class  v_bat_exception
class  watchdog_exception

Functions

void task_wdt_callback (int channel_id, void *user_data)
 K_THREAD_STACK_DEFINE (radio_rx_thread_stack, CONFIG_RADIO_RX_THREAD_STACK_SIZE)
 K_THREAD_STACK_DEFINE (uhf_tx_thread_stack, CONFIG_UHF_TX_THREAD_STACK_SIZE)
 K_THREAD_STACK_DEFINE (sband_tx_thread_stack, CONFIG_SBAND_TX_THREAD_STACK_SIZE)
 K_THREAD_STACK_DEFINE (msg_arbiter_thread_stack, CONFIG_MSG_ARBITER_STACK_SIZE)
 K_THREAD_STACK_DEFINE (async_workq_stack, CONFIG_ASYNC_WORKQUEUE_STACK_SIZE)
spi_manual_cs_bsp radio_spi (radio_spi_dev, radio_spi_cfg, &radio_cs)
void unhandled_exception ()
 FS_LITTLEFS_DECLARE_CUSTOM_CONFIG (lfs_storage, storage::SECTOR_SIZE, storage::SECTOR_SIZE, storage::SECTOR_SIZE, storage::SECTOR_SIZE, 4 *storage::SECTOR_SIZE)
 K_THREAD_STACK_DEFINE (thermal_thread_stack, CONFIG_THERMAL_MONITOR_THREAD_STACK_SIZE)

Variables

etl::string< CONFIG_LOG_MAX_MSG_LEN > retentained_mem_str
uint8_t buf [chunk_bytes]
const struct device * v_bat_dev = DEVICE_DT_GET(DT_ALIAS(vbat))
const struct gpio_dt_spec led0 = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios)
const struct gpio_dt_spec led1 = GPIO_DT_SPEC_GET(DT_ALIAS(led1), gpios)
const struct spi_config radio_spi_cfg
const struct device * radio_spi_dev = DEVICE_DT_GET(DT_NODELABEL(spi4))
const struct gpio_dt_spec radio_cs
const struct gpio_dt_spec radio_rst
const struct gpio_dt_spec radio_ext_clk
const struct spi_config fpga_spi_cfg
const struct device * fpga_spi_dev = DEVICE_DT_GET(DT_NODELABEL(spi2))
const struct gpio_dt_spec fpga_done
const struct gpio_dt_spec p5v_rf_en
const struct gpio_dt_spec p5v_fpga_en
const struct device * sens_i2c = DEVICE_DT_GET(DT_ALIAS(sensorsi2c))
const struct gpio_dt_spec can1_en
const struct gpio_dt_spec can1_low_pwr
const struct gpio_dt_spec can2_en
const struct gpio_dt_spec can2_low_pwr
const struct gpio_dt_spec p5v_rf_pg
const struct gpio_dt_spec p5v_fpga_pg
const struct gpio_dt_spec p3v3_rf_pg = {.port = nullptr, 0, 0}
const struct gpio_dt_spec en_uhf
const struct gpio_dt_spec uhf_pgood
const struct gpio_dt_spec en_sband
const struct gpio_dt_spec sband_pgood
const struct gpio_dt_spec en_agc_uhf
const struct gpio_dt_spec flt_sel_uhf
const struct gpio_dt_spec alert_uhf_pa_temp
const struct gpio_dt_spec mixer_rst
const struct gpio_dt_spec mixer_enx
const struct gpio_dt_spec mixer_scl
const struct gpio_dt_spec mixer_sda
const struct gpio_dt_spec en_agc_sband
const struct gpio_dt_spec flt_sel_sband
const struct gpio_dt_spec alert_sband_pa_temp
const struct gpio_dt_spec emmc_en
const struct gpio_dt_spec emmc_sel
const struct gpio_dt_spec emmc_rst
const struct device * dac1 = DEVICE_DT_GET(DT_NODELABEL(dac1))
const struct gpio_dt_spec radio_trx_irq
struct k_work radio_trx_irq_work
struct gpio_callback radio_trx_irq_clbk_h
spi_bsp fpga_spi (fpga_spi_dev, fpga_spi_cfg)
scl::bsp::dummy_gpio gpio_fpga_boot_sel_1
scl::bsp::dummy_gpio gpio_fpga_boot_sel_0
i2c_bsp sensors_i2c (sens_i2c)
dac_bsp agc_vout_uhf (dac1, scl::radio::UHF_AGC_VOUT_DAC_CH, 12)
dac_bsp agc_vout_sband (dac1, scl::radio::SBAND_AGC_VOUT_DAC_CH, 12)
chrono_bsp chr
sensor_bsp v_bat (v_bat_dev)
scl::power::r_lim adc_rlim (CONFIG_R_LIM_3V3_D, CONFIG_R_LIM_5V_RF, CONFIG_R_LIM_5V_FPGA)
scl::power::io_conf pwr_cnf
scl::rf_frontend09::io_conf rffe09_io
scl::rf_frontend24::io_conf rffe24_io
scl::radio::io_conf radio_cnf
scl::board::io_conf board_io

Function Documentation

◆ FS_LITTLEFS_DECLARE_CUSTOM_CONFIG()

satnogs::comms::FS_LITTLEFS_DECLARE_CUSTOM_CONFIG ( lfs_storage ,
storage::SECTOR_SIZE ,
storage::SECTOR_SIZE ,
storage::SECTOR_SIZE ,
storage::SECTOR_SIZE ,
4 *storage::SECTOR_SIZE  )

◆ K_THREAD_STACK_DEFINE() [1/6]

satnogs::comms::K_THREAD_STACK_DEFINE ( async_workq_stack ,
CONFIG_ASYNC_WORKQUEUE_STACK_SIZE  )

◆ K_THREAD_STACK_DEFINE() [2/6]

satnogs::comms::K_THREAD_STACK_DEFINE ( msg_arbiter_thread_stack ,
CONFIG_MSG_ARBITER_STACK_SIZE  )

◆ K_THREAD_STACK_DEFINE() [3/6]

satnogs::comms::K_THREAD_STACK_DEFINE ( radio_rx_thread_stack ,
CONFIG_RADIO_RX_THREAD_STACK_SIZE  )

◆ K_THREAD_STACK_DEFINE() [4/6]

satnogs::comms::K_THREAD_STACK_DEFINE ( sband_tx_thread_stack ,
CONFIG_SBAND_TX_THREAD_STACK_SIZE  )

◆ K_THREAD_STACK_DEFINE() [5/6]

satnogs::comms::K_THREAD_STACK_DEFINE ( thermal_thread_stack ,
CONFIG_THERMAL_MONITOR_THREAD_STACK_SIZE  )

◆ K_THREAD_STACK_DEFINE() [6/6]

satnogs::comms::K_THREAD_STACK_DEFINE ( uhf_tx_thread_stack ,
CONFIG_UHF_TX_THREAD_STACK_SIZE  )

◆ radio_spi()

spi_manual_cs_bsp satnogs::comms::radio_spi ( radio_spi_dev ,
radio_spi_cfg ,
& radio_cs )

◆ task_wdt_callback()

void satnogs::comms::task_wdt_callback ( int channel_id,
void * user_data )

Definition at line 37 of file callbacks.cpp.

◆ unhandled_exception()

void satnogs::comms::unhandled_exception ( )

Definition at line 363 of file startup.cpp.

Variable Documentation

◆ adc_rlim

scl::power::r_lim satnogs::comms::adc_rlim(CONFIG_R_LIM_3V3_D, CONFIG_R_LIM_5V_RF, CONFIG_R_LIM_5V_FPGA) ( CONFIG_R_LIM_3V3_D ,
CONFIG_R_LIM_5V_RF ,
CONFIG_R_LIM_5V_FPGA  )

◆ agc_vout_sband

dac_bsp satnogs::comms::agc_vout_sband(dac1, scl::radio::SBAND_AGC_VOUT_DAC_CH, 12) ( dac1 ,
scl::radio::SBAND_AGC_VOUT_DAC_CH ,
12  )

◆ agc_vout_uhf

dac_bsp satnogs::comms::agc_vout_uhf(dac1, scl::radio::UHF_AGC_VOUT_DAC_CH, 12) ( dac1 ,
scl::radio::UHF_AGC_VOUT_DAC_CH ,
12  )

◆ alert_sband_pa_temp

gpio_bsp gpio_alert_sband_pa_temp & satnogs::comms::alert_sband_pa_temp
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(alert_sband_pa_temp), gpios)
const struct gpio_dt_spec alert_sband_pa_temp
Definition startup.cpp:113

Definition at line 113 of file startup.cpp.

◆ alert_uhf_pa_temp

gpio_bsp gpio_alert_uhf_pa_temp & satnogs::comms::alert_uhf_pa_temp
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(alert_uhf_pa_temp), gpios)
const struct gpio_dt_spec alert_uhf_pa_temp
Definition startup.cpp:97

Definition at line 97 of file startup.cpp.

◆ board_io

scl::board::io_conf satnogs::comms::board_io
Initial value:
= {.emmc_en = gpio_emmc_en,
.emmc_sel = gpio_emmc_sel,
.emmc_rst = gpio_emmc_rst,
.fpga_spi = fpga_spi,
.led0 = l0,
.led1 = l1,
.pwr_io = pwr_cnf,
.sensors_i2c = sensors_i2c,
.alert_t_pa_uhf = gpio_alert_uhf_pa_temp,
.alert_t_pa_sband = gpio_alert_sband_pa_temp,
.radio_io = radio_cnf,
.chrono = chr,
.fpga_done = gpio_fpga_done,
.fpga_boot_sel_1 = gpio_fpga_boot_sel_1,
.fpga_boot_sel_0 = gpio_fpga_boot_sel_0,
.uhf_antenna = uhf_antenna,
.sband_antenna = sband_antenna}
scl::bsp::dummy_gpio gpio_fpga_boot_sel_1
Definition startup.cpp:169
chrono_bsp chr
Definition startup.cpp:213
spi_bsp fpga_spi(fpga_spi_dev, fpga_spi_cfg)
scl::radio::io_conf radio_cnf
Definition startup.cpp:337
scl::power::io_conf pwr_cnf
Definition startup.cpp:224
scl::bsp::dummy_gpio gpio_fpga_boot_sel_0
Definition startup.cpp:170
i2c_bsp sensors_i2c(sens_i2c)

Definition at line 344 of file startup.cpp.

◆ buf

uint8_t satnogs::comms::buf[chunk_bytes]

Definition at line 39 of file memory_monitor.cpp.

◆ can1_en

gpio_bsp gpio_can1_en & satnogs::comms::can1_en
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(can1_en), gpios)
const struct gpio_dt_spec can1_en
Definition startup.cpp:63

Definition at line 63 of file startup.cpp.

◆ can1_low_pwr

gpio_bsp gpio_can1_low_pwr & satnogs::comms::can1_low_pwr
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(can1_low_pwr), gpios)
const struct gpio_dt_spec can1_low_pwr
Definition startup.cpp:65

Definition at line 65 of file startup.cpp.

◆ can2_en

gpio_bsp gpio_can2_en & satnogs::comms::can2_en
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(can2_en), gpios)
const struct gpio_dt_spec can2_en
Definition startup.cpp:67

Definition at line 67 of file startup.cpp.

◆ can2_low_pwr

gpio_bsp gpio_can2_low_pwr & satnogs::comms::can2_low_pwr
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(can2_low_pwr), gpios)
const struct gpio_dt_spec can2_low_pwr
Definition startup.cpp:69

Definition at line 69 of file startup.cpp.

◆ chr

chrono_bsp satnogs::comms::chr

Definition at line 213 of file startup.cpp.

◆ dac1

const struct device* satnogs::comms::dac1 = DEVICE_DT_GET(DT_NODELABEL(dac1))

Definition at line 130 of file startup.cpp.

◆ emmc_en

gpio_bsp gpio_emmc_en & satnogs::comms::emmc_en
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(emmc_en), gpios)
const struct gpio_dt_spec emmc_en
Definition startup.cpp:116

Definition at line 116 of file startup.cpp.

◆ emmc_rst

gpio_bsp gpio_emmc_rst & satnogs::comms::emmc_rst
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(emmc_rst), gpios)
const struct gpio_dt_spec emmc_rst
Definition startup.cpp:120

Definition at line 120 of file startup.cpp.

◆ emmc_sel

gpio_bsp gpio_emmc_sel & satnogs::comms::emmc_sel
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(emmc_sel), gpios)
const struct gpio_dt_spec emmc_sel
Definition startup.cpp:118

Definition at line 118 of file startup.cpp.

◆ en_agc_sband

gpio_bsp gpio_en_agc_sband & satnogs::comms::en_agc_sband
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(en_agc_sband), gpios)
const struct gpio_dt_spec en_agc_sband
Definition startup.cpp:109

Definition at line 109 of file startup.cpp.

◆ en_agc_uhf

gpio_bsp gpio_en_agc_uhf & satnogs::comms::en_agc_uhf
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(en_agc_uhf), gpios)
const struct gpio_dt_spec en_agc_uhf
Definition startup.cpp:93

Definition at line 93 of file startup.cpp.

◆ en_sband

gpio_bsp gpio_en_sband & satnogs::comms::en_sband
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(en_sband), gpios)
const struct gpio_dt_spec en_sband
Definition startup.cpp:88

Definition at line 88 of file startup.cpp.

◆ en_uhf

gpio_bsp gpio_en_uhf & satnogs::comms::en_uhf
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(en_uhf), gpios)
const struct gpio_dt_spec en_uhf
Definition startup.cpp:84

Definition at line 84 of file startup.cpp.

◆ flt_sel_sband

gpio_bsp gpio_flt_sel_sband & satnogs::comms::flt_sel_sband
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(flt_sel_sband), gpios)
const struct gpio_dt_spec flt_sel_sband
Definition startup.cpp:111

Definition at line 111 of file startup.cpp.

◆ flt_sel_uhf

gpio_bsp gpio_flt_sel_uhf & satnogs::comms::flt_sel_uhf
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(flt_sel_uhf), gpios)
const struct gpio_dt_spec flt_sel_uhf
Definition startup.cpp:95

Definition at line 95 of file startup.cpp.

◆ fpga_done

gpio_bsp gpio_fpga_done & satnogs::comms::fpga_done
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(fpga_done), gpios)
const struct gpio_dt_spec fpga_done
Definition startup.cpp:46

Definition at line 46 of file startup.cpp.

◆ fpga_spi

spi_bsp satnogs::comms::fpga_spi(fpga_spi_dev, fpga_spi_cfg) ( fpga_spi_dev ,
fpga_spi_cfg  )

◆ fpga_spi_cfg

const struct spi_config satnogs::comms::fpga_spi_cfg
Initial value:
= {
.frequency = 5000000,
.operation = SPI_OP_MODE_MASTER | SPI_TRANSFER_MSB | SPI_WORD_SET(8) |
SPI_LINES_SINGLE | SPI_FULL_DUPLEX | SPI_FRAME_FORMAT_MOTOROLA,
.cs = {.gpio = SPI_CS_GPIOS_DT_SPEC_GET(DT_NODELABEL(fpga_spi)),
.delay = 4}}

Definition at line 38 of file startup.cpp.

◆ fpga_spi_dev

const struct device* satnogs::comms::fpga_spi_dev = DEVICE_DT_GET(DT_NODELABEL(spi2))

Definition at line 44 of file startup.cpp.

◆ gpio_fpga_boot_sel_0

scl::bsp::dummy_gpio satnogs::comms::gpio_fpga_boot_sel_0

Definition at line 170 of file startup.cpp.

◆ gpio_fpga_boot_sel_1

scl::bsp::dummy_gpio satnogs::comms::gpio_fpga_boot_sel_1

Definition at line 169 of file startup.cpp.

◆ led0

gpio_bsp l0 & satnogs::comms::led0 = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios)

Definition at line 20 of file startup.cpp.

◆ led1

gpio_bsp l1 & satnogs::comms::led1 = GPIO_DT_SPEC_GET(DT_ALIAS(led1), gpios)

Definition at line 21 of file startup.cpp.

◆ mixer_enx

gpio_bsp gpio_mixer_enx & satnogs::comms::mixer_enx
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(mixer_enx), gpios)
const struct gpio_dt_spec mixer_enx
Definition startup.cpp:102

Definition at line 102 of file startup.cpp.

◆ mixer_rst

gpio_bsp gpio_mixer_rst & satnogs::comms::mixer_rst
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(mixer_rst), gpios)
const struct gpio_dt_spec mixer_rst
Definition startup.cpp:100

Definition at line 100 of file startup.cpp.

◆ mixer_scl

gpio_bsp gpio_mixer_scl & satnogs::comms::mixer_scl
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(mixer_scl), gpios)
const struct gpio_dt_spec mixer_scl
Definition startup.cpp:104

Definition at line 104 of file startup.cpp.

◆ mixer_sda

gpio_bsp gpio_mixer_sda & satnogs::comms::mixer_sda
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(mixer_sda), gpios)
const struct gpio_dt_spec mixer_sda
Definition startup.cpp:106

Definition at line 106 of file startup.cpp.

◆ p3v3_rf_pg

const struct gpio_dt_spec satnogs::comms::p3v3_rf_pg = {.port = nullptr, 0, 0}

Definition at line 81 of file startup.cpp.

◆ p5v_fpga_en

gpio_bsp gpio_p5v_fpga & satnogs::comms::p5v_fpga_en
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(p5v_fpga_en), gpios)
const struct gpio_dt_spec p5v_fpga_en
Definition startup.cpp:59

Definition at line 59 of file startup.cpp.

◆ p5v_fpga_pg

gpio_bsp gpio_fpga_5v_pgood & satnogs::comms::p5v_fpga_pg
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(p5v_fpga_pg), gpios)
const struct gpio_dt_spec p5v_fpga_pg
Definition startup.cpp:74

Definition at line 74 of file startup.cpp.

◆ p5v_rf_en

gpio_bsp gpio_p5v_rf & satnogs::comms::p5v_rf_en
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(p5v_rf_en), gpios)
const struct gpio_dt_spec p5v_rf_en
Definition startup.cpp:57

Definition at line 57 of file startup.cpp.

◆ p5v_rf_pg

gpio_bsp gpio_rf_5v_pgood & satnogs::comms::p5v_rf_pg
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(p5v_rf_pg), gpios)
const struct gpio_dt_spec p5v_rf_pg
Definition startup.cpp:72

Definition at line 72 of file startup.cpp.

◆ pwr_cnf

scl::power::io_conf satnogs::comms::pwr_cnf
Initial value:
= {.mon_i2c = sensors_i2c,
.rf_5v_en = gpio_p5v_rf,
.fpga_5v_en = gpio_p5v_fpga,
.can1_en = gpio_can1_en,
.can1_low_pwr = gpio_can1_low_pwr,
.can2_en = gpio_can2_en,
.can2_low_pwr = gpio_can2_low_pwr,
.rf_5v_pgood = gpio_rf_5v_pgood,
.fpga_5v_pgood = gpio_fpga_5v_pgood,
.uhf_en = gpio_en_uhf,
.uhf_pgood = gpio_uhf_pgood,
.sband_en = gpio_en_sband,
.sband_pgood = gpio_sband_pgood,
.imon_3v3_d = adc_imon_3v3_d,
.imon_5v_rf = adc_imon_5v_rf,
.imon_fpga = adc_imon_5v_fpga,
.v_mon = v_bat,
.rlim = adc_rlim,
.efuse_adc_current_gain =
CONFIG_EFUSE_ADC_CURRENT_GAIN}
scl::power::r_lim adc_rlim(CONFIG_R_LIM_3V3_D, CONFIG_R_LIM_5V_RF, CONFIG_R_LIM_5V_FPGA)
sensor_bsp v_bat(v_bat_dev)

Definition at line 224 of file startup.cpp.

◆ radio_cnf

scl::radio::io_conf satnogs::comms::radio_cnf
Initial value:
= {.spi_ctrl = radio_spi,
.nreset = radio_nrst,
.en_ext_clk = radio_en_ext_clk,
.chrono = chr,
.rffe09_io = rffe09_io,
.rffe24_io = rffe24_io}
scl::rf_frontend09::io_conf rffe09_io
Definition startup.cpp:321
scl::rf_frontend24::io_conf rffe24_io
Definition startup.cpp:328
spi_manual_cs_bsp radio_spi(radio_spi_dev, radio_spi_cfg, &radio_cs)

Definition at line 337 of file startup.cpp.

◆ radio_cs

const struct gpio_dt_spec satnogs::comms::radio_cs
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(radio_cs), gpios)
const struct gpio_dt_spec radio_cs
Definition startup.cpp:29

Definition at line 29 of file startup.cpp.

◆ radio_ext_clk

gpio_bsp radio_en_ext_clk & satnogs::comms::radio_ext_clk
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(en_ext_clk), gpios)

Definition at line 35 of file startup.cpp.

◆ radio_rst

gpio_bsp radio_nrst & satnogs::comms::radio_rst
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(radio_rst), gpios)
const struct gpio_dt_spec radio_rst
Definition startup.cpp:32

Definition at line 32 of file startup.cpp.

◆ radio_spi_cfg

const struct spi_config satnogs::comms::radio_spi_cfg
Initial value:
= {
.frequency = 10000000,
.operation = SPI_OP_MODE_MASTER | SPI_TRANSFER_MSB | SPI_WORD_SET(8) |
SPI_LINES_SINGLE | SPI_FULL_DUPLEX | SPI_FRAME_FORMAT_MOTOROLA,
.cs = {.gpio = {.port = nullptr, .pin = 0, .dt_flags = 0}, .delay = 0}}

Definition at line 23 of file startup.cpp.

◆ radio_spi_dev

const struct device* satnogs::comms::radio_spi_dev = DEVICE_DT_GET(DT_NODELABEL(spi4))

Definition at line 28 of file startup.cpp.

◆ radio_trx_irq

const struct gpio_dt_spec satnogs::comms::radio_trx_irq
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(radio_trx_irq), gpios)
const struct gpio_dt_spec radio_trx_irq
Definition startup.cpp:132

Definition at line 132 of file startup.cpp.

◆ radio_trx_irq_clbk_h

struct gpio_callback satnogs::comms::radio_trx_irq_clbk_h

Definition at line 141 of file startup.cpp.

◆ radio_trx_irq_work

struct k_work satnogs::comms::radio_trx_irq_work

Definition at line 140 of file startup.cpp.

◆ retentained_mem_str

etl::string<CONFIG_LOG_MAX_MSG_LEN> satnogs::comms::retentained_mem_str

Definition at line 53 of file logger.cpp.

◆ rffe09_io

scl::rf_frontend09::io_conf satnogs::comms::rffe09_io
Initial value:
= {
.en_agc = gpio_en_agc_uhf,
.agc_vset = agc_vout_uhf,
.flt_sel = gpio_flt_sel_uhf}
dac_bsp agc_vout_uhf(dac1, scl::radio::UHF_AGC_VOUT_DAC_CH, 12)

Definition at line 321 of file startup.cpp.

◆ rffe24_io

scl::rf_frontend24::io_conf satnogs::comms::rffe24_io
Initial value:
= {.en_agc = gpio_en_agc_sband,
.agc_vset = agc_vout_sband,
.flt_sel = gpio_flt_sel_sband,
.mixer_clk = gpio_mixer_scl,
.mixer_rst = gpio_mixer_rst,
.mixer_enx = gpio_mixer_enx,
.mixer_sda = gpio_mixer_sda,
.chrono = chr}
dac_bsp agc_vout_sband(dac1, scl::radio::SBAND_AGC_VOUT_DAC_CH, 12)

Definition at line 328 of file startup.cpp.

◆ sband_pgood

gpio_bsp gpio_sband_pgood & satnogs::comms::sband_pgood
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(sband_pgood), gpios)
const struct gpio_dt_spec sband_pgood
Definition startup.cpp:90

Definition at line 90 of file startup.cpp.

◆ sens_i2c

const struct device* satnogs::comms::sens_i2c = DEVICE_DT_GET(DT_ALIAS(sensorsi2c))

Definition at line 61 of file startup.cpp.

◆ sensors_i2c

i2c_bsp satnogs::comms::sensors_i2c(sens_i2c) ( sens_i2c )

◆ uhf_pgood

gpio_bsp gpio_uhf_pgood & satnogs::comms::uhf_pgood
Initial value:
=
GPIO_DT_SPEC_GET(DT_NODELABEL(uhf_pgood), gpios)
const struct gpio_dt_spec uhf_pgood
Definition startup.cpp:86

Definition at line 86 of file startup.cpp.

◆ v_bat

sensor_bsp satnogs::comms::v_bat(v_bat_dev) ( v_bat_dev )

◆ v_bat_dev

const struct device* satnogs::comms::v_bat_dev = DEVICE_DT_GET(DT_ALIAS(vbat))

Definition at line 18 of file startup.cpp.