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

On chip SPI1 bus master unit class. More...

#include <SPI1_P016_05_PUC2.h>

Inheritance diagram for TSPI1_P016_05_PUC2:
Inheritance graph
Collaboration diagram for TSPI1_P016_05_PUC2:
Collaboration graph

Public Member Functions

 TSPI1_P016_05_PUC2 ()
 Class constructor method. More...
 
virtual ~TSPI1_P016_05_PUC2 ()
 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...
 
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...
 
- Public Member Functions inherited from TSPI1_STM32F410CBU6
 TSPI1_STM32F410CBU6 ()
 Class constructor method. More...
 
virtual ~TSPI1_STM32F410CBU6 ()
 Class destructor method. More...
 
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 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...
 
virtual VOID Set_Transmit_Mode ()
 Set transmit mode method. More...
 
virtual VOID Set_Receive_Mode ()
 Set receive mode method. 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...
 
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...
 
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...
 

Additional Inherited Members

- Protected Attributes inherited from TSPI_Master_Base
BOOL bool_Initialised = (BOOL)false
 Object initialisation status. More...
 

Detailed Description

On chip SPI1 bus master unit class.

Constructor & Destructor Documentation

◆ TSPI1_P016_05_PUC2()

TSPI1_P016_05_PUC2::TSPI1_P016_05_PUC2 ( )

Class constructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

◆ ~TSPI1_P016_05_PUC2()

TSPI1_P016_05_PUC2::~TSPI1_P016_05_PUC2 ( )
virtual

Class destructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Clear_Clock()

VOID TSPI1_P016_05_PUC2::Clear_Clock ( )
virtual

Set clock in low state.


Note
None
Returns
None
Override
Requered
Attention
None

Reimplemented from TSPI_Master_Base.

Referenced by PIO_Init().

Here is the caller graph for this function:

◆ Clear_MOSI()

VOID TSPI1_P016_05_PUC2::Clear_MOSI ( )
virtual

Set MOSI in low state.


Note
None
Returns
None
Override
Requered
Attention
None

Reimplemented from TSPI_Master_Base.

Referenced by PIO_Init().

Here is the caller graph for this function:

◆ CS_Activate()

VOID TSPI1_P016_05_PUC2::CS_Activate ( )
virtual

Activate (set to 0) SPI bus chip select signal.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TSPI_Master_Base.

◆ CS_Deactivate()

VOID TSPI1_P016_05_PUC2::CS_Deactivate ( )
virtual

Deactivate (set to 1) SPI bus chip select signal.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TSPI_Master_Base.

Referenced by PIO_Init().

Here is the caller graph for this function:

◆ Get_MISO()

BOOL TSPI1_P016_05_PUC2::Get_MISO ( )
virtual

Get MISO pin state.


Note
None
Returns
None
Override
Requered
Attention
None

Reimplemented from TSPI_Master_Base.

◆ PIO_Done()

VOID TSPI1_P016_05_PUC2::PIO_Done ( )
virtual

PIO reinitialisation as GPIO method.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TSPI_Master_Base.

◆ PIO_Init()

VOID TSPI1_P016_05_PUC2::PIO_Init ( )
virtual

PIO initialisation method.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TSPI_Master_Base.

References Clear_Clock(), Clear_MOSI(), and CS_Deactivate().

Here is the call graph for this function:

◆ Set_Clock()

VOID TSPI1_P016_05_PUC2::Set_Clock ( )
virtual

Set clock in high state.


Note
None
Returns
None
Override
Requered
Attention
None

Reimplemented from TSPI_Master_Base.

◆ Set_MOSI()

VOID TSPI1_P016_05_PUC2::Set_MOSI ( )
virtual

Set MOSI in high state.


Note
None
Returns
None
Override
Requered
Attention
None

Reimplemented from TSPI_Master_Base.


The documentation for this class was generated from the following files: