precision-converters-firmware
Functions | Variables
app_config.c File Reference

Source file for the application configuration for AD717x IIO Application. More...

#include <stdio.h>
#include "no_os_uart.h"
#include "ad717x.h"
#include "app_config.h"
#include "no_os_gpio.h"
#include "no_os_irq.h"
#include "no_os_error.h"
#include "common.h"
Include dependency graph for app_config.c:

Functions

int32_t init_interrupt (void)
 Initialize the IRQ contoller. More...
 
int32_t init_system (void)
 Initialize the system peripherals. More...
 

Variables

struct no_os_uart_desc * uart_desc
 
struct no_os_gpio_desc * csb_gpio
 
struct no_os_gpio_desc * rdy_gpio
 
struct no_os_irq_ctrl_desc * trigger_irq_desc
 
struct no_os_eeprom_desc * eeprom_desc
 

Detailed Description

Source file for the application configuration for AD717x IIO Application.

Copyright (c) 2021-23 Analog Devices, Inc. All rights reserved.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Function Documentation

◆ init_interrupt()

int32_t init_interrupt ( void  )

Initialize the IRQ contoller.

Returns
0 in case of success, negative error code otherwise

This function initialize the interrupts for system peripherals

◆ init_system()

int32_t init_system ( void  )

Initialize the system peripherals.

Returns
- 0 in case of success, negative error code otherwise

Variable Documentation

◆ csb_gpio

struct no_os_gpio_desc* csb_gpio

◆ eeprom_desc

struct no_os_eeprom_desc* eeprom_desc

◆ rdy_gpio

struct no_os_gpio_desc* rdy_gpio

◆ trigger_irq_desc

struct no_os_irq_ctrl_desc* trigger_irq_desc

◆ uart_desc

struct no_os_uart_desc* uart_desc