Difference between revisions of "Component: ADC (CAL) (Misc)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 2.0 |- | width="20%" style="color:gray...") |
|||
Line 15: | Line 15: | ||
CAL - Code Abstraction Layer A low level implementation giving direct access to the analogue to digital converter peripheral. | CAL - Code Abstraction Layer A low level implementation giving direct access to the analogue to digital converter peripheral. | ||
− | ==Component | + | ==Component Source Code== |
− | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_ADC.fcfx FC_Comp_Source_ADC.fcfx] | |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 256: | Line 260: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|- | |- |
Revision as of 17:44, 9 November 2022
Author | Matrix TSL |
Version | 2.0 |
Category | Misc |
Contents
ADC component
CAL - Code Abstraction Layer A low level implementation giving direct access to the analogue to digital converter peripheral.
Component Source Code
Please click here for the component source code: FC_Comp_Source_ADC.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
![]() |
GetValue |
Gets the Name property value | |
![]() |
Name |
The name of the property | |
![]() |
Return |
![]() |
Disable |
Disables the current ADC channel Call this once sampling is complete | |
![]() |
Return |
![]() |
Sample |
Blocking call to read a sample on the currently enabled channel | |
![]() |
Sample_Mode |
True to enable full-width sample (10 or 12 bits), else false for 8 bit | |
![]() |
Return |
![]() |
SetValue |
Sets the Value for the named property | |
![]() |
Name |
Name of property to update | |
![]() |
Value |
The new value for the property | |
![]() |
Return |
![]() |
GetList |
![]() |
Name |
![]() |
Return |