Example Program for EVAL-AD7606

Dependencies:   platform_drivers

Embed: (wiki syntax)

« Back to documentation index

app_config.c File Reference

app_config.c File Reference

Application configurations module (platform-agnostic) 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.
static int32_t init_pwm (void)
 Initialize the PWM contoller.
int32_t init_system (void)
 Initialize the system peripherals.

Detailed Description

Application configurations module (platform-agnostic)

This module performs the system configurations

Copyright (c) 2020-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 91 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 115 of file app_config.c.

static int32_t init_pwm ( void   ) [static]

Initialize the PWM contoller.

Returns:
SUCCESS in case of success, FAILURE otherwise

Definition at line 141 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 165 of file app_config.c.