|
char | pinTypes [5][10] = {"out", "in", "analogIn", "analogOut", "pwm"} |
|
◆ addFunction()
void Device::addFunction |
( |
char * | name, |
|
|
char * | methodName ) |
- Parameters
-
name | - the name of theobject |
methodName | - the name of the method to call |
- Returns
- void
◆ addGPIO()
void Device::addGPIO |
( |
char * | name, |
|
|
char * | GPIOType, |
|
|
char * | portName, |
|
|
int | pinNumber, |
|
|
int | value ) |
- Parameters
-
name | - the name of the device |
GPIOType | - the type of the pin: char pinTypes[5][10] = {"out", "in", "analogIn", "analogOut", "pwm"}; |
portName | - the name of the Port |
pinNumber | - the pin number |
value | - the status of the pin |
- Returns
- void
◆ appendFunctions()
void Device::appendFunctions |
( |
| ) |
|
◆ appendGPIOs()
void Device::appendGPIOs |
( |
| ) |
|
◆ get()
◆ set()
void Device::set |
( |
char * | name | ) |
|
- Parameters
-
name | - it is the name of the device |
- Returns
- void
◆ pinTypes
char Device::pinTypes[5][10] = {"out", "in", "analogIn", "analogOut", "pwm"} |
- Parameters
-
char | pinTypes[5][10] = {"out", "in", "analogIn", "analogOut", "pwm"}; |
The documentation for this class was generated from the following files:
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/github/semilimes_mcu_sdk/src/device/device.h
- C:/Users/flavio_unige/Desktop/semilimes MCU SDK/github/semilimes_mcu_sdk/src/device/device.cpp