Difference between revisions of "Component: I2C Free (Peripheral CAL)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.3 |- | width="20%" style="color:gray...") |
|||
Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 36: | Line 38: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 14:41, 16 January 2023
Author | Matrix Ltd |
Version | 1.3 |
Category | Peripheral CAL |
Contents
I2C Free component
Chip Abstraction Layer for Two Wire I2C Communications
Component Source Code
Please click here for the component source code: FC_Comp_Source_I2C_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.
Downloadable macro reference
![]() |
Slave_Uninit |
Uninitialise the Slave | |
![]() |
Return |
![]() |
GetValue |
Get the Named property value. | |
![]() |
Name |
![]() |
Return |
![]() |
Master_Stop |
Output a Master Stop | |
![]() |
Return |
![]() |
Master_Uninit |
Uninitialise the Master | |
![]() |
Return |
![]() |
GetConsoleHandle |
Obtains the CAL console handle | |
![]() |
Return |
![]() |
Slave_TxByte |
Send a data byte, returns Ack/Nak from Master 0=Ack=More, 1=Nak=Last | |
![]() |
Data |
![]() |
Return |
![]() |
Slave_RxByte |
Returns the data received, and sends either Ack or Nak Set parameter Last as: 1=Last=Nak, 0=Ack=More | |
![]() |
Last |
Sends Ack if 0, else Nak | |
![]() |
Return |
![]() |
SetValue |
Change Named property to new Value. If "CHANNEL" the ports will be also updated from the fcd | |
![]() |
Name |
![]() |
Value |
port value as string | |
![]() |
Return |
![]() |
Master_Init |
Initialise the Master | |
![]() |
Return |
![]() |
Master_Start |
Output a Master Start sequence | |
![]() |
Return |
![]() |
Master_TxByte |
Send a data byte | |
![]() |
Data |
![]() |
Return |
![]() |
Master_Restart |
Output a Master Restart sequence | |
![]() |
Return |
![]() |
GetList |
returns Named property List as filter string | |
![]() |
Name |
![]() |
Return |