31 lines
555 B
C
31 lines
555 B
C
/**
|
|
* @brief PUT_TEXT_HERE
|
|
* @details This file is...
|
|
* @author username
|
|
* @date todays_date
|
|
* @copyright None
|
|
* @file MOCKADC.h
|
|
*/
|
|
|
|
#ifndef MOCKADC_H
|
|
#define MOCKADC_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
/**
|
|
* A function that adds two to a number
|
|
* @param a The first argument
|
|
*/
|
|
void ADC_Init(uint8_t pin_num);
|
|
void ADC_Enable(uint8_t pin_num);
|
|
void ADC_Disable();
|
|
|
|
extern uint16_t (*ADC_ReadValue)(uint8_t pin_num);
|
|
|
|
void MockADC_PushValue(uint16_t value);
|
|
void MockADC_ZeroIndex(void);
|
|
int MockADC_GetIndex(void);
|
|
|
|
#endif //MOCKADC_H
|