Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
pdu_channel.cpp File Reference

The PDU channel. More...

#include "artemis_devices.h"
#include "artemisbeacons.h"
#include "channels/artemis_channels.h"
#include <SD.h>
#include <pdu.h>

Namespaces

 Artemis::Channels
 The channels on the satellite.
 
 Artemis::Channels::PDU
 The PDU channel.
 

Functions

void Artemis::Channels::PDU::pdu_channel ()
 The top-level channel definition. More...
 
void Artemis::Channels::PDU::setup ()
 The PDU setup function. More...
 
void Artemis::Channels::PDU::enableRFM23Radio ()
 Provides power to the RFM23 radio. More...
 
void Artemis::Channels::PDU::deploy ()
 Deployment sequence. More...
 
void Artemis::Channels::PDU::deploy_burn_wire ()
 Deploys the burn wire.
 
void Artemis::Channels::PDU::loop ()
 The PDU loop function. More...
 
void Artemis::Channels::PDU::handle_queue ()
 Helper function to handle packet queue. More...
 
void Artemis::Channels::PDU::test_communicating_with_pdu ()
 Helper function to ping the PDU to test communications.
 
void Artemis::Channels::PDU::set_switch_on_pdu ()
 Helper function to set a switch on the PDU.
 
void Artemis::Channels::PDU::report_pdu_switch_status ()
 Helper function to report status of all switches on PDU.
 
void Artemis::Channels::PDU::regulate_temperature ()
 Helper function to regulate the satellite's temperature.
 
void Artemis::Channels::PDU::update_watchdog_timer ()
 Helper function to feed the PDU's watchdog.
 

Variables

PacketComm Artemis::Channels::PDU::packet
 The packet used throughout the channel.
 
PDU pdu & Artemis::Channels::PDU::Serial1
 The PDU object used throughout the channel.
 
unsigned long Artemis::Channels::PDU::startTime
 The time at which an action has started.
 
elapsedMillis Artemis::Channels::PDU::uptime
 The time in milliseconds since the channel was started.
 
elapsedMillis Artemis::Channels::PDU::heaterinterval
 The time in milliseconds since the temperature was checked.
 

Detailed Description

The PDU channel.

The definition of the PDU channel.