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

Implementation of MCS_GPIO Driver. More...

#include <stdlib.h>
#include <stdio.h>
#include "no_os_print_log.h"
#include "no_os_error.h"
#include "no_os_gpio.h"
#include "no_os_util.h"
#include "no_os_alloc.h"
#include "mcs_gpio.h"
#include "jesd204.h"
Include dependency graph for mcs_gpio.c:

Classes

struct  mcs_gpio_jesd204_priv
 

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

Implementation 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.