Legacy branch migration
This commit is contained in:
24
firmware/devices/halfbridge.h
Normal file
24
firmware/devices/halfbridge.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef HALFBRIDGE_H_
|
||||
#define HALFBRIDGE_H_
|
||||
|
||||
/**** Includes ****/
|
||||
#include <stdint.h>
|
||||
|
||||
/**** Public function declarations ****/
|
||||
void HB_UpdateOutput(uint16_t supply);
|
||||
|
||||
void HB_SetTarget(uint16_t voltage);
|
||||
void HB_SetLowSide(uint8_t on);
|
||||
|
||||
void HB_SetDirect(uint16_t duty);
|
||||
|
||||
void HB_Enable(void);
|
||||
void HB_Disable(void);
|
||||
|
||||
uint16_t HB_GetTarget(void);
|
||||
|
||||
uint8_t HB_IsLowOn(void);
|
||||
uint8_t HB_IsEnabled(void);
|
||||
int8_t HB_IsOutputMatch(uint16_t fb_output_voltage, uint16_t limit);
|
||||
|
||||
#endif /* HALFBRIDGE_H_ */
|
||||
Reference in New Issue
Block a user