![]() |
no-OS
|
Header file of max538x Family Driver. More...
Classes | |
| struct | max538x_chip_info |
| struct | max538x_dev |
| struct | max538x_init_param |
Macros | |
| #define | MAX538X_RESOLUTION 0xFF |
Enumerations | |
| enum | max538x_type { MAX5380L , MAX5380M , MAX5380N , MAX5380K , MAX5381L , MAX5381M , MAX5381N , MAX5381K , MAX5382L , MAX5382M , MAX5382N , MAX5382K } |
Functions | |
| int | max538x_init (struct max538x_dev **device, struct max538x_init_param init_param) |
| Initializes the communication peripheral and checks if the device is present. | |
| int | max538x_remove (struct max538x_dev *dev) |
| Free the resources allocated by max538x_init(). | |
| int | max538x_set_voutput (struct max538x_dev *dev, float vout) |
| Sets the DAC output voltage using vout. | |
Variables | |
| const struct max538x_chip_info | chip_info [] |
Header file of max538x Family Driver.
Copyright 2023(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define MAX538X_RESOLUTION 0xFF |
| enum max538x_type |
| int max538x_init | ( | struct max538x_dev ** | device, |
| struct max538x_init_param | init_param ) |
Initializes the communication peripheral and checks if the device is present.
| device | - The device structure. |
| init_param | - The structure that contains the device initial parameters. |
| int max538x_remove | ( | struct max538x_dev * | dev | ) |
Free the resources allocated by max538x_init().
| dev | - The device structure. |
| int max538x_set_voutput | ( | struct max538x_dev * | dev, |
| float | vout ) |
Sets the DAC output voltage using vout.
| dev | - The device structure. |
| vout | - voltage output to set. |
|
extern |