ConOpSys data type definitions header file.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
unsigned char U8
Binary 8-Bit unsigned integer datatype defenition.
Definition: Defines.h:183
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
SPI master base class.
Definition: SPI_Master_Base.h:58
virtual ~TSPI_Master_Base()
Class destructor method.
Definition: SPI_Master_Base.cpp:64
virtual BOOL Get_MISO()
Get MISO pin state.
Definition: SPI_Master_Base.cpp:173
virtual VOID Receive_Byte(U8 *u8_Byte_To_Receive)=0
Receive byte over SPI bus.
virtual VOID Set_Transmit_Mode()
Set transmit mode method.
Definition: SPI_Master_Base.cpp:117
virtual VOID Init()=0
SPI bus initialisation method.
VOID Done()
SPI bus finalisation method.
Definition: SPI_Master_Base.cpp:72
virtual VOID Clear_Clock()
Set clock in low state.
Definition: SPI_Master_Base.cpp:157
virtual VOID Stop()=0
Stop SPI bus operation method.
virtual VOID CS_Activate()=0
Activate (set to 0) SPI bus chip select signal.
BOOL bool_Initialised
Object initialisation status.
Definition: SPI_Master_Base.h:331
VOID Transfer_Buffer(U8 *u8_Buffer_To_Send, U8 *u8_Buffer_To_Receive, U16 u16_Length)
Send buffer and receive buffer over SPI bus at some time.
Definition: SPI_Master_Base.cpp:93
virtual VOID Set_MOSI()
Set MOSI in high state.
Definition: SPI_Master_Base.cpp:141
virtual VOID Set_Clock()
Set clock in high state.
Definition: SPI_Master_Base.cpp:165
virtual BOOL Verify_Byte(U8 u8_Byte_To_Verify)=0
Verify byte over SPI bus.
TSPI_Master_Base()
Class constructor method.
Definition: SPI_Master_Base.cpp:56
virtual VOID Clear_MOSI()
Set MOSI in low state.
Definition: SPI_Master_Base.cpp:149
virtual VOID Start()=0
Start SPI bus operation method.
virtual VOID Send_Byte(U8 u8_Byte_To_Send)=0
Send byte over SPI bus.
virtual VOID Transfer_Byte(U8 u8_Byte_To_Send, U8 *u8_Byte_To_Receive)
Send byte and receive byte over SPI bus at some time.
Definition: SPI_Master_Base.cpp:133
virtual VOID PIO_Init()=0
PIO initialisation method.
virtual VOID CS_Deactivate()=0
Deactivate (set to 1) SPI bus chip select signal.
virtual VOID Set_Receive_Mode()
Set receive mode method.
Definition: SPI_Master_Base.cpp:125
virtual VOID PIO_Done()=0
PIO reinitialisation as GPIO method.