26#ifndef BOARD_STM32_H103_H
27#define BOARD_STM32_H103_H
31#define BOARD_STM32_H103_Name "STM32 H103"
42 const short int* GetPinMap(
void)
override;
46 std::string
GetName(
void)
override {
return BOARD_STM32_H103_Name; };
47 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
53 void Draw(
void)
override;
55 void Run_CPU_ns(uint64_t time)
override;
59 void Reset(
void)
override;
61 void EvMouseButtonPress(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
63 void EvMouseButtonRelease(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
65 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
67 void EvKeyRelease(
unsigned int key,
unsigned int mask)
override;
75 unsigned short GetInputId(
char* name)
override;
80 void board_ButtonEvent(
const char* controlname,
unsigned int button,
unsigned int x,
unsigned int y,
81 unsigned int state)
override;
82 void MSetAPin(
int pin,
float value)
override;
85 void PinsExtraConfig(
int cfg)
override;
Definition bsim_qemu.h:42
Definition board_STM32_H103.h:34
void RegisterRemoteControl(void) override
Register remote control variables.
Definition board_STM32_H103.cc:324
void board_Event(const char *controlname) override
Called when window side controls are activated.
Definition board_STM32_H103.cc:637
void Run_CPU(void) override
Paralle thread called ever 100ms to run cpu code.
Definition board_STM32_H103.h:54
std::string GetName(void) override
Get board name registered in PICSimLab.
Definition board_STM32_H103.h:46
void RefreshStatus(void) override
Called ever 1s to refresh status.
Definition board_STM32_H103.cc:333
void Reset(void) override
Reset board status.
Definition board_STM32_H103.cc:309
void MSetAPin(int pin, float value) override
board microcontroller set analog pin
Definition board_STM32_H103.cc:848
void EvMouseButtonPress(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_STM32_H103.cc:401
void WritePreferences(void) override
Called to save board preferences in configuration file.
Definition board_STM32_H103.cc:346
void ReadPreferences(char *name, char *value) override
Called whe configuration file load preferences.
Definition board_STM32_H103.cc:362
void Draw(void) override
Called ever 100ms to draw board.
Definition board_STM32_H103.cc:480
std::string GetSupportedDevices(void) override
Return a list of supported microcontrollers.
Definition board_STM32_H103.h:57
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition board_STM32_H103.cc:218
int MGetPinCount(void) override
board microcontroller pin count
Definition board_STM32_H103.cc:844
void board_ButtonEvent(const char *controlname, unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Called when window side controls are activated.
Definition board_STM32_H103.cc:929
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition board_STM32_H103.cc:234
void EvKeyRelease(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_STM32_H103.cc:397
std::string MGetPinName(int pin) override
board microcontroller pin name
Definition board_STM32_H103.cc:644
void EvKeyPress(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_STM32_H103.cc:393
void EvMouseButtonRelease(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_STM32_H103.cc:447
std::string GetAboutInfo(void) override
Return the about information of part.
Definition board_STM32_H103.h:47