29 lines
621 B
C
29 lines
621 B
C
|
/**
|
||
|
* @brief PUT_TEXT_HERE
|
||
|
* @details This file is...
|
||
|
* @author username
|
||
|
* @date todays_date
|
||
|
* @copyright None
|
||
|
* @file MockRegEdit.h
|
||
|
*/
|
||
|
|
||
|
#ifndef MOCKREGEDIT_H
|
||
|
#define MOCKREGEDIT_H
|
||
|
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
void RegEdit_SetRegister(void *reg);
|
||
|
void RegEdit_ClearRegister(void *reg);
|
||
|
void RegEdit_SetBit(void *reg, uint8_t bit_num);
|
||
|
void RegEdit_ClearBit(void *reg, uint8_t bit_num);
|
||
|
bool RegEdit_IsBitSet(void *reg, uint8_t bit_num);
|
||
|
|
||
|
void RegEdit_OR_Num(void *reg, uint8_t num);
|
||
|
void RegEdit_AND_Num(void *reg, uint8_t num);
|
||
|
|
||
|
void RegEdit_SetNum(void *reg, uint8_t num);
|
||
|
|
||
|
#endif //MOCKREGEDIT_H
|