Mahesh Phalke / Mbed OS EVAL-AD7689

Dependencies:   sdp_k1_sdram

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_uart (void)
 Initialize the UART peripheral.
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) 2021-22 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:
0 in case of success, negative error code otherwise

Definition at line 99 of file app_config.c.

static int32_t init_interrupt ( void   ) [static]

Initialize the IRQ contoller.

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

Definition at line 130 of file app_config.c.

static int32_t init_pwm ( void   ) [static]

Initialize the PWM contoller.

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

Definition at line 161 of file app_config.c.

int32_t init_system ( void   )

Initialize the system peripherals.

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

Definition at line 184 of file app_config.c.

static int32_t init_uart ( void   ) [static]

Initialize the UART peripheral.

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

Definition at line 121 of file app_config.c.