no-OS
Loading...
Searching...
No Matches
mcs_gpio.h File Reference

Header file of MCS_GPIO Driver. More...

#include <stdbool.h>
#include <stdint.h>
Include dependency graph for mcs_gpio.h:

Classes

struct  mcs_gpio_dev
 
struct  mcs_gpio_init_param
 

Functions

int32_t mcs_gpio_init (struct mcs_gpio_dev **device, const struct mcs_gpio_init_param *init_param)
 
int32_t mcs_gpio_remove (struct mcs_gpio_dev *device)
 

Detailed Description

Header file of MCS_GPIO Driver.

Author
GGMois (georg.nosp@m.e.mo.nosp@m.is@an.nosp@m.alog.nosp@m..com)

Copyright 2025(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ mcs_gpio_init()

int32_t mcs_gpio_init ( struct mcs_gpio_dev ** device,
const struct mcs_gpio_init_param * init_param )

Initialize the device.

Parameters
device- The device structure.
init_param- The structure that contains the device initial parameters.
Returns
0 in case of success, negative error code otherwise.

◆ mcs_gpio_remove()

int32_t mcs_gpio_remove ( struct mcs_gpio_dev * device)

Remove the device - release resources.

Parameters
device- The device structure.
Returns
0 in case of success, negative error code otherwise.