ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | List of all members
TDigital_IO_Base Class Referenceabstract

Digital I/O base class. More...

#include <Digital_IO_Base.h>

Collaboration diagram for TDigital_IO_Base:
Collaboration graph

Public Member Functions

 TDigital_IO_Base ()
 Class constructor method. More...
 
virtual ~TDigital_IO_Base ()
 Class destructor method. More...
 
virtual VOID Init ()=0
 Digital I/O initialisation method. More...
 
virtual VOID Done ()=0
 Digital I/O finalisation method. More...
 
virtual VOID PIO_Init ()=0
 PIO initialisation method. More...
 
virtual VOID PIO_Done ()=0
 PIO reinitialisation as GPIO method. More...
 
virtual BOOL Set_Output (U8 u8_Index, BOOL bool_State)=0
 Get digital output state. More...
 
virtual BOOL Get_Input (U8 u8_Index, BOOL *bool_State)=0
 Get digital input state. More...
 

Detailed Description

Digital I/O base class.

Constructor & Destructor Documentation

◆ 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.

Member Function Documentation

◆ 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: