Program files for Example program for EVAL-AD7768-1

Dependencies:   platform_drivers

Embed: (wiki syntax)

« Back to documentation index

app_config.c File Reference

app_config.c File Reference

Application configurations module. More...

Go to the source code of this file.

Functions

static int32_t init_gpio (void)
 Initialize the GPIOs.
static int32_t init_interrupt (void)
 Initialize the IRQ contoller.
int32_t init_system (void)
 Initialize the system peripherals.

Detailed Description

Application configurations module.

This module contains the configurations needed for IIO application

Copyright (c) 2021 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.

Definition in file app_config.c.


Function Documentation

static int32_t init_gpio ( void   ) [static]

Initialize the GPIOs.

Returns:
SUCCESS in case of success, FAILURE otherwise

This function initialize the GPIOs used by application

Definition at line 83 of file app_config.c.

static int32_t init_interrupt ( void   ) [static]

Initialize the IRQ contoller.

Returns:
SUCCESS in case of success, FAILURE otherwise

This function initialize the interrupts for system peripherals

Definition at line 104 of file app_config.c.

int32_t init_system ( void   )

Initialize the system peripherals.

Returns:
SUCCESS in case of success, FAILURE otherwise

Definition at line 125 of file app_config.c.