ConOpSys V2970
P004.07
ANVILEX control operating system
|
On chip SPI2 bus master unit class. More...
#include <SPI2_P015_27_V1_0_CB.h>
Public Member Functions | |
TSPI2_P015_27_V1_0_CB () | |
Class constructor method. More... | |
virtual | ~TSPI2_P015_27_V1_0_CB () |
Class destructor method. More... | |
virtual VOID | PIO_Init () |
PIO initialisation method. More... | |
virtual VOID | PIO_Done () |
PIO reinitialisation as GPIO method. More... | |
virtual VOID | CS_Activate () |
Activate (set to 0) SPI bus chip select signal. More... | |
virtual VOID | CS_Deactivate () |
Deactivate (set to 1) SPI bus chip select signal. More... | |
Public Member Functions inherited from TSPI2_STM32F429 | |
virtual VOID | Init () |
SPI bus initialisation method. More... | |
virtual VOID | Start () |
Start SPI bus operation method. More... | |
virtual VOID | Stop () |
Stop SPI bus operation method. More... | |
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. More... | |
virtual VOID | Send_Byte (U8 u8_Byte_To_Send) |
Send byte over SPI bus. More... | |
virtual VOID | Receive_Byte (U8 *u8_Byte_To_Receive) |
Receive byte over SPI bus. More... | |
virtual BOOL | Verify_Byte (U8 u8_Byte_To_Verify) |
Verify byte over SPI bus. More... | |
Public Member Functions inherited from TSPI_Master_Base | |
TSPI_Master_Base () | |
Class constructor method. More... | |
virtual | ~TSPI_Master_Base () |
Class destructor method. More... | |
VOID | Done () |
SPI bus finalisation method. More... | |
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. More... | |
virtual VOID | Set_Transmit_Mode () |
Set transmit mode method. More... | |
virtual VOID | Set_Receive_Mode () |
Set receive mode method. More... | |
virtual VOID | Set_MOSI () |
Set MOSI in high state. More... | |
virtual VOID | Clear_MOSI () |
Set MOSI in low state. More... | |
virtual VOID | Clear_Clock () |
Set clock in low state. More... | |
virtual VOID | Set_Clock () |
Set clock in high state. More... | |
virtual BOOL | Get_MISO () |
Get MISO pin state. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TSPI_Master_Base | |
BOOL | bool_Initialised = (BOOL)false |
Object initialisation status. More... | |
On chip SPI2 bus master unit class.
TSPI2_P015_27_V1_0_CB::TSPI2_P015_27_V1_0_CB | ( | ) |
Class constructor method.
|
virtual |
Class destructor method.
|
virtual |
Activate (set to 0) SPI bus chip select signal.
Implements TSPI_Master_Base.
References THigh_Precision_Timer_Base::Delay(), and object_Delay_Timer.
|
virtual |
Deactivate (set to 1) SPI bus chip select signal.
Implements TSPI_Master_Base.
References THigh_Precision_Timer_Base::Delay(), and object_Delay_Timer.
|
virtual |
PIO reinitialisation as GPIO method.
Implements TSPI_Master_Base.
|
virtual |
PIO initialisation method.
Implements TSPI_Master_Base.