Platform drivers for Mbed.
Dependents: EVAL-CN0535-FMCZ EVAL-CN0535-FMCZ EVAL-AD568x-AD569x EVAL-AD7606 ... more
aout.h File Reference
Go to the source code of this file.
Data Structures | |
struct | aout_init_param |
Structure holding the parameters for analog output initialization. More... | |
struct | aout_desc |
Structure holding analog output descriptor. More... | |
struct | aout_platform_ops |
Structure holding analog output function pointers that point to the platform specific function. More... | |
Functions | |
int32_t | aout_set_voltage (struct aout_desc *desc, float value) |
Write voltage to analog output pin. | |
int32_t | aout_init (struct aout_desc **desc, const struct aout_init_param *param) |
Initialize the analog output pin. | |
int32_t | aout_remove (struct aout_desc *desc) |
Deallocate resources allocated by aout_init() |
Detailed Description
Copyright (c) 2021 Analog Devices, Inc. All rights reserved.
This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
Definition in file aout.h.
Function Documentation
int32_t aout_init | ( | struct aout_desc ** | desc, |
const struct aout_init_param * | param | ||
) |
int32_t aout_remove | ( | struct aout_desc * | desc ) |
Deallocate resources allocated by aout_init()
- Parameters:
-
desc[in,out] - Analog output descriptor
- Returns:
- SUCCESS in case of success, FAILURE otherwise.
Generated on Wed Jul 13 2022 14:37:51 by 1.7.2