FOSSASAT-1B
Loading...
Searching...
No Matches
pin_interface.h
Go to the documentation of this file.
1#ifndef PIN_INTERFACE_H_INCLUDED
2#define PIN_INTERFACE_H_INCLUDED
3
4#include "FossaSat1B.h"
41
51
67
68#endif
T Persistent_Storage_Read(uint16_t addr)
This function reads a value of type T from EEPROM.
void Pin_Interface_Watchdog_Restart()
Restarts the watchdog.
float Pin_Interface_Read_Temperature(uint8_t sensorAddr)
This function reads the TMP100's value from its wire address.
float Pin_Interface_Read_Voltage(uint8_t pin)
Read the voltage of a given pin.
void Pin_Interface_Set_Temp_Resolution(uint8_t sensorAddr, uint8_t res)
This function sets the resolution of the TMP100.
void Pin_Interface_Watchdog_Heartbeat(bool manageBattery=false)
This function toggles the signal to the watchdog and writes it to the pin.
int8_t Pin_Interface_Read_Temperature_Internal()
This function reads the MCU's internal temperature.