Difference between revisions of "Component: SPI Free (Peripheral CAL)"
From Flowcode Help
Jump to navigationJump to search| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 38: | Line 40: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 58: | Line 62: | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:13, 20 January 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 for the component source code: 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
| Slave_Uninit | |
| Uninitialise the Slave | |
| Return | |
| GetValue | |
| Reads Named property Value. | |
| Name | |
| Return | |
| Slave_Init | |
| Initialise the Slave | |
| 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 | |
| Return | |
| Slave_TxByte | |
| Sets the data to be transmitted | |
| Data | |
| Return | |
| Slave_RxByte | |
| Returns the data received | |
| 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 | |