Component: SPI (CAL) (Misc)
From Flowcode Help
(Redirected from Component: ID c67171df 0ad6 4b11 8361 cfe14b072847)
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 21.21 |
Category | Misc |
Contents
SPI component
CAL = Code Abstraction Layer - Allows one code base to run on a wide range of chips. A low level implementation giving direct access to the Serial Peripheral Interface peripheral.
Version information
Library Version, Component Version, Date, Author, Info 15, 2.1, 04-11-24, BR, Added pin caption to the remap port pin selection property 16, 2.2, 04-11-24, BR, Cleaned up pin caption from none remap port pin property 17, 2.2, 04-11-24, BR, Minor change to source to reflect change to I2C 21, 21.0, 28-04-25, MW, Minor change sim only to prevent chars FCD Helper from appearing on the display
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetConsoleHandle
![]() |
GetConsoleHandle |
Returns a handle to the console used by this component | |
![]() |
Return |
GetList
![]() |
GetList |
returns Named property list | |
![]() |
Name |
![]() |
Return |
GetValue
![]() |
GetValue |
Reads Named property Value. | |
![]() |
Name |
![]() |
Return |
Master_Byte
![]() |
Master_Byte |
Sends and receives a data byte | |
![]() |
DataOut |
![]() |
Return |
Master_Disable_CS
![]() |
Master_Disable_CS |
Outputs a high signal to the chip select pin to deselect the remote slave device. | |
![]() |
Return |
Master_Enable_CS
![]() |
Master_Enable_CS |
Outputs a low signal to the chip select pin to select the remote slave device. | |
![]() |
Return |
Master_Init
![]() |
Master_Init |
Initialise the Master | |
![]() |
Return |
Master_Transaction
Master_Uninit
![]() |
Master_Uninit |
Uninitialise the Master | |
![]() |
Return |
Prv_TextConsole
SetPrescaler
![]() |
SetPrescaler |
Sets the prescaler value for the clock divider chain | |
![]() |
Prescaler |
![]() |
Return |
SetValue
![]() |
SetValue |
Change Named property to new Value. | |
![]() |
Name |
![]() |
Value |
![]() |
Return |
Slave_Init
![]() |
Slave_Init |
Initialise the Slave | |
![]() |
Return |
Slave_RxByte
![]() |
Slave_RxByte |
Returns the data received from the SPI Master | |
![]() |
Return |
Slave_TxByte
![]() |
Slave_TxByte |
Sets the data to be transmitted to the SPI master. | |
![]() |
Data |
![]() |
Return |
Slave_Uninit
![]() |
Slave_Uninit |
Uninitialise the Slave | |
![]() |
Return |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_SPI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_SPI.fcfx