HRI board firmware  v2.1
Microcontroller firmware of the board used during the HRI labs.
Functions
dac.c File Reference
#include "dac.h"
#include "../lib/utils.h"

Functions

void dac_Init (void)
 Setup a DAC with 2 channels. More...
 
void dac_SetVoltage1 (float32_t finalVoltage)
 Set the voltage of the channel 1 of the DAC. More...
 
void dac_SetVoltage2 (float32_t finalVoltage)
 Set the voltage of the channel 2 of the DAC. More...
 
float32_t dac_GetVoltage1 (void)
 Get the current output voltage of the channel 1 of the DAC. More...
 
float32_t dac_GetVoltage2 (void)
 Get the current output voltage of the channel 2 of the DAC. More...