CubeMon-Vue-Demo-STM32F407VGT6U
ao.h
Go to the documentation of this file.
1
21#ifndef INC_LIB_AO_H_
22#define INC_LIB_AO_H_
23
25#include <lib/uti/utility.h>
26#include <lib/uti/lib_config.h>
27
28#ifdef LIB_AO
29#include <prog/init.h>
30#else
35typedef enum anaOutputs {
36 AO_NONE
38#endif
39
40retStatus analog_output_init(anaOutputs an_output_name, uint32_t channel,
41 liner_fce linear_fce);
42
43retStatus analog_output_set(uint16_t an_output_name, uint16_t data_type,
44 int32_t value);
45
46uint32_t lin_dac_no_scaling_no_corrections(uint32_t voltage_value);
47
48#endif /* INC_LIB_AO_H_ */
anaOutputs
Definition: ao.h:35
provides HAL includes for different MCU cores
Initialization of digital/analog inputs and outputs.
Defines for turning on/off the library modules.
Defines and functions that are useful for all library files.
retStatus
possible return values
Definition: utility.h:13