Difference between revisions of "Component: SPI (CAL) (Misc)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 22: | Line 24: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 11:02, 17 November 2021
Author | Matrix TSL |
Version | 2.1 |
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.
Detailed description
No detailed description exists yet for this component
Examples
Example showing how to build a component using a CAL component Using CAL Components.
Downloadable macro reference
![]() |
Master_Enable_CS |
Outputs a low signal to the chip select pin to select the remote slave device. | |
![]() |
Return |
![]() |
Slave_Uninit |
Uninitialise the Slave | |
![]() |
Return |
![]() |
GetValue |
Reads Named property Value. | |
![]() |
Name |
![]() |
Return |
![]() |
Slave_Init |
Initialise the Slave | |
![]() |
Return |
![]() |
Master_Disable_CS |
Outputs a high signal to the chip select pin to deselect the remote slave device. | |
![]() |
Return |
![]() |
Master_Uninit |
Uninitialise the Master | |
![]() |
Return |
![]() |
Master_Byte |
Sends and receives a data byte | |
![]() |
DataOut |
![]() |
Return |
![]() |
GetConsoleHandle |
Returns a handle to the console used by this component | |
[[File:]] - | Return |
![]() |
Slave_TxByte |
Sets the data to be transmitted to the SPI master. | |
![]() |
Data |
![]() |
Return |
![]() |
Slave_RxByte |
Returns the data received from the SPI Master | |
![]() |
Return |
![]() |
SetValue |
Change Named property to new Value. | |
![]() |
Name |
![]() |
Value |
![]() |
Return |
![]() |
SetPrescaler |
Sets the prescaler value for the clock divider chain | |
![]() |
Prescaler |
![]() |
Return |
![]() |
Master_Init |
Initialise the Master | |
![]() |
Return |
![]() |
GetList |
returns Named property list | |
![]() |
Name |
![]() |
Return |