27#ifndef BOARD_Curiosity_HPC_H
28#define BOARD_Curiosity_HPC_H
30#include "bsim_picsim.h"
32#define BOARD_Curiosity_HPC_Name "Curiosity HPC"
37 unsigned char p_BT[2];
46 unsigned char ic28pins;
50 std::string
GetName(
void)
override {
return BOARD_Curiosity_HPC_Name; };
52 return "El-khadraouy Mohammed\n<mohammed.el-khadraouy@ecole.ensicaen.fr>\nand L.C. Gamboa \n "
53 "<lcgamboa@yahoo.com>";
60 void Draw(
void)
override;
65 void Reset(
void)
override;
67 void EvMouseButtonPress(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
69 void EvMouseButtonRelease(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
71 void EvMouseMove(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
73 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
75 void EvKeyRelease(
unsigned int key,
unsigned int mask)
override;
83 unsigned short GetInputId(
char* name)
override;
Definition bsim_picsim.h:34
Definition board_Curiosity_HPC.h:35
void ReadPreferences(char *name, char *value) override
Called whe configuration file load preferences.
Definition board_Curiosity_HPC.cc:276
void EvKeyPress(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_Curiosity_HPC.cc:306
std::string GetSupportedDevices(void) override
Return a list of supported microcontrollers.
Definition board_Curiosity_HPC.h:63
std::string GetName(void) override
Get board name registered in PICSimLab.
Definition board_Curiosity_HPC.h:50
void EvMouseMove(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_Curiosity_HPC.cc:386
void RegisterRemoteControl(void) override
Register remote control variables.
Definition board_Curiosity_HPC.cc:222
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition board_Curiosity_HPC.cc:88
void Run_CPU(void) override
Paralle thread called ever 100ms to run cpu code.
Definition board_Curiosity_HPC.cc:604
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition board_Curiosity_HPC.cc:66
std::string GetAboutInfo(void) override
Return the about information of part.
Definition board_Curiosity_HPC.h:51
void Draw(void) override
Called ever 100ms to draw board.
Definition board_Curiosity_HPC.cc:446
void EvMouseButtonRelease(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_Curiosity_HPC.cc:406
void WritePreferences(void) override
Called to save board preferences in configuration file.
Definition board_Curiosity_HPC.cc:263
void EvMouseButtonPress(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_Curiosity_HPC.cc:330
void Reset(void) override
Reset board status.
Definition board_Curiosity_HPC.cc:178
void MSetSerial(const char *port) override
Set serial port name to use.
Definition board_Curiosity_HPC.cc:169
void RefreshStatus(void) override
Called ever 1s to refresh status.
Definition board_Curiosity_HPC.cc:247
void EvKeyRelease(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_Curiosity_HPC.cc:318