Platform drivers for Mbed.

Dependents:   EVAL-CN0535-FMCZ EVAL-CN0535-FMCZ EVAL-AD568x-AD569x EVAL-AD7606 ... more

Embed: (wiki syntax)

« Back to documentation index

ain_platform_ops Struct Reference

ain_platform_ops Struct Reference

Structure holding analog input function pointers that point to the platform specific function. More...

#include <ain.h>

Data Fields

int32_t(* init )(struct ain_desc **, const struct ain_init_param *)
 Analog input initialization function pointer.
int32_t(* read )(struct ain_desc *, float *)
 Analog input read function pointer.
int32_t(* remove )(struct ain_desc *)
 Analog input remove function pointer.

Detailed Description

Structure holding analog input function pointers that point to the platform specific function.

Definition at line 62 of file ain.h.


Field Documentation

int32_t(* init)(struct ain_desc **, const struct ain_init_param *)

Analog input initialization function pointer.

Definition at line 64 of file ain.h.

int32_t(* read)(struct ain_desc *, float *)

Analog input read function pointer.

Definition at line 66 of file ain.h.

int32_t(* remove)(struct ain_desc *)

Analog input remove function pointer.

Definition at line 68 of file ain.h.