Difference between revisions of "Component: SPI Free (Peripheral CAL)"
From Flowcode Help
Jump to navigationJump to search| (One intermediate revision by the same user not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_SPI_Free.fcfx FC_Comp_Source_SPI_Free.fcfx] |
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_SPI_Free.fcfx FC_Comp_Source_SPI_Free.fcfx] |
==Detailed description== | ==Detailed description== | ||
| Line 78: | Line 78: | ||
Example showing how to build a component using a CAL component [[Using_CAL_Components|Using CAL Components]]. | Example showing how to build a component using a CAL component [[Using_CAL_Components|Using CAL Components]]. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 289: | Line 293: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| − | |||
| − | |||
Latest revision as of 13:12, 7 February 2023
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Peripheral CAL |
Contents
SPI Free component
A low level implementation giving direct access to the CAL
Component Source Code
Please click here to download the component source project: FC_Comp_Source_SPI_Free.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_SPI_Free.fcfx
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.
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_Init
| Master_Init | |
| Initialise the Master | |
| Return | |
Master_Uninit
| Master_Uninit | |
| Uninitialise the Master | |
| Return | |
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 | |
| Return | |
Slave_TxByte
| Slave_TxByte | |
| Sets the data to be transmitted | |
| Data | |
| Return | |
Slave_Uninit
| Slave_Uninit | |
| Uninitialise the Slave | |
| Return | |