Saved work
This commit is contained in:
@@ -16,10 +16,15 @@ namespace bsp {
|
||||
class Board
|
||||
{
|
||||
public:
|
||||
typedef struct {
|
||||
uint8_t pwm_f_khz;
|
||||
uint8_t od_common_is_pwm;
|
||||
} boardCfg_t;
|
||||
|
||||
Board(void);
|
||||
~Board(void);
|
||||
|
||||
void init(void);
|
||||
void init(boardCfg_t* cfg);
|
||||
|
||||
AnalogIn out_voltage;
|
||||
AnalogIn out_current;
|
||||
@@ -50,6 +55,8 @@ class Board
|
||||
PwmOut out_pwm;
|
||||
DigitalOut out_low;
|
||||
|
||||
Memory nvmem;
|
||||
|
||||
void read(void);
|
||||
|
||||
#ifndef TESTING
|
||||
|
||||
Reference in New Issue
Block a user