High/mocks/MockADC/MockADC.h

31 lines
554 B
C
Raw Normal View History

2024-07-27 18:59:09 +00:00
/**
* @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>
2024-07-29 00:02:47 +00:00
void ADC_Setup(void);
void ADC_SetPin(uint8_t pin_num);
2024-07-27 18:59:09 +00:00
void ADC_Init(uint8_t pin_num);
2024-07-29 00:02:47 +00:00
void ADC_Enable(void);
void ADC_Disable(void);
2024-07-27 18:59:09 +00:00
extern uint16_t (*ADC_ReadValue)(uint8_t pin_num);
void MockADC_PushValue(uint16_t value);
void MockADC_ZeroIndex(void);
int MockADC_GetIndex(void);
bool MockADC_IsSetup(void);
2024-07-27 18:59:09 +00:00
#endif //MOCKADC_H