Arrow3-MBN-APP
 
Loading...
Searching...
No Matches
internal_adc_test.c File Reference

source file to check internal ADC test More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "main.h"
Include dependency graph for internal_adc_test.c:

Macros

#define MAX_BUF   64
 

Functions

int read_adc_value1 (const char *filename)
 To read the value of voltage from internal ADC.
 
int internal_adc ()
 Test to check the Internal ADC.
 

Detailed Description

source file to check internal ADC test

Macro Definition Documentation

◆ MAX_BUF

#define MAX_BUF   64

Function Documentation

◆ internal_adc()

int internal_adc ( )

Test to check the Internal ADC.

Returns
API_SUCCESS_test for success API_FAILURE_test for failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_adc_value1()

int read_adc_value1 ( const char * filename)

To read the value of voltage from internal ADC.

Parameters
file_discriptor
Returns
adc_value Voltage value
Here is the caller graph for this function: