src.dualinventive.com/dinet/libdi_fw/include/di_fw/dac.h

26 lines
552 B
C

/**
* @file di_fw/dac.h
* @brief DAC Driver macros and structures.
* @date June 21, 2016
* @author R.H van Lieshout (PragmaLab)
* @copyright 2016 Dual Inventive Technology Centre B.V.
*/
#ifndef INCLUDE_DI_FW_DAC_H_
#define INCLUDE_DI_FW_DAC_H_
#include <ch.h>
#include <hal.h>
/**
* DAC Driver initialization on application level
*/
void di_fw_dac_init(void);
/**
* Output a sample through the DAC
* @param sample the sample that needs to be send out
*/
void di_fw_dac_feed_sample(dacsample_t sample);
#endif /* INCLUDE_DI_FW_DAC_H_ */