Digital I/O base class.
More...
#include <Digital_IO_Base.h>
◆ TDigital_IO_Base()
TDigital_IO_Base::TDigital_IO_Base |
( |
| ) |
|
Class constructor method.
- Note
- None
- Override
- Not allowed
- Attention
- Don't call this method directly.
◆ ~TDigital_IO_Base()
TDigital_IO_Base::~TDigital_IO_Base |
( |
| ) |
|
|
virtual |
Class destructor method.
- Note
- None
- Override
- Not allowed
- Attention
- Don't call this method directly.
◆ Done()
virtual VOID TDigital_IO_Base::Done |
( |
| ) |
|
|
pure virtual |
Digital I/O finalisation method.
- Note
- Override method must initialise hardware dependent SPI bus unit and related GPIO.
- Returns
- None
- Override
- Requered
- Attention
- None
◆ Get_Input()
virtual BOOL TDigital_IO_Base::Get_Input |
( |
U8 |
u8_Index, |
|
|
BOOL * |
bool_State |
|
) |
| |
|
pure virtual |
Get digital input state.
- Note
- None
- Parameters
-
[in] | u8_Index | - Index of digital input |
[out] | bool_State | - Digital input state |
- Returns
- BOOL - Operation status
- Return values
-
false | - Operation failed, input not found |
true | - Operation successed |
- Override
- Requered
- Attention
- None
◆ Init()
virtual VOID TDigital_IO_Base::Init |
( |
| ) |
|
|
pure virtual |
Digital I/O initialisation method.
- Note
- None
- Returns
- None
- Override
- Requered
- Attention
- None
◆ PIO_Done()
virtual VOID TDigital_IO_Base::PIO_Done |
( |
| ) |
|
|
pure virtual |
PIO reinitialisation as GPIO method.
- Note
- None
- Returns
- None
- Override
- Not allowed
- Attention
- None
◆ PIO_Init()
virtual VOID TDigital_IO_Base::PIO_Init |
( |
| ) |
|
|
pure virtual |
PIO initialisation method.
- Note
- None
- Returns
- None
- Override
- Not allowed
- Attention
- None
◆ Set_Output()
virtual BOOL TDigital_IO_Base::Set_Output |
( |
U8 |
u8_Index, |
|
|
BOOL |
bool_State |
|
) |
| |
|
pure virtual |
Get digital output state.
- Note
- None
- Parameters
-
[in] | u8_Index | - Index of digital input |
[in] | bool_State | - Digital output state |
- Returns
- BOOL - Operation status
- Return values
-
false | - Operation failed, output not found |
true | - Operation successed |
- Override
- Requered
- Attention
- None
The documentation for this class was generated from the following files: