![]() |
no-OS
|
Source file of MAX14914 Driver. More...
#include <stdlib.h>#include <string.h>#include "max14914.h"#include "no_os_util.h"#include "no_os_error.h"#include "no_os_alloc.h"Functions | |
| int | max14914_set_state (struct max14914_desc *desc, enum max14914_state state) |
| Set the state of the MAX14914. | |
| int | max14914_init (struct max14914_desc **desc, struct max14914_init_param *init_param) |
| Initialize the MAX14914 device. | |
| int | max14914_remove (struct max14914_desc *desc) |
| Free resources allocated by the init function. | |
Source file of MAX14914 Driver.
Copyright 2024(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| int max14914_init | ( | struct max14914_desc ** | desc, |
| struct max14914_init_param * | init_param ) |
Initialize the MAX14914 device.
| desc | - MAX14914 device descriptor |
| init_param | - MAX14914 initialization parameter |
| int max14914_remove | ( | struct max14914_desc * | desc | ) |
Free resources allocated by the init function.
| desc | - MAX14914 device descriptor |
| int max14914_set_state | ( | struct max14914_desc * | desc, |
| enum max14914_state | state ) |
Set the state of the MAX14914.
| desc | - MAX14914 device descriptor |
| state | - State for the device to be set in. |