20 lines
429 B
C
20 lines
429 B
C
#ifndef COIL_LOGIC_H_
|
|
#define COIL_LOGIC_H_
|
|
|
|
/**** Includes ****/
|
|
#include <stdint.h>
|
|
#include "../devices/analog.h"
|
|
|
|
/**** Public definitions ****/
|
|
|
|
/**** Public function declarations ****/
|
|
void Coil_SetTarget_Force(uint8_t force);
|
|
void Coil_SetTarget_Current(uint16_t current);
|
|
uint16_t Coil_GetTargetVolatge(void);
|
|
|
|
uint16_t Coil_Update(analog_t* meas);
|
|
|
|
void Coil_SetLockCurrent(uint16_t lock_i);
|
|
|
|
#endif /* COIL_LOGIC_H_ */
|