Difference between revisions of "Component: PIC32 Core Timer (Timing)"
From Flowcode Help
Jump to navigationJump to searchLine 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 83: | Line 85: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===Start_S=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 101: | Line 104: | ||
+ | ===Start_InstructionCount=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 119: | Line 123: | ||
+ | ===Delay_S=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 137: | Line 142: | ||
+ | ===Start_Ms=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 155: | Line 161: | ||
+ | ===Start_Us=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 173: | Line 180: | ||
+ | ===Delay_Ms=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 191: | Line 199: | ||
+ | ===Delay_InstructionCount=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 209: | Line 218: | ||
+ | ===Start_Ns=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 227: | Line 237: | ||
+ | ===Delay_Us=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 245: | Line 256: | ||
+ | ===Delay_Ns=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 263: | Line 275: | ||
+ | ===Check_Counter=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:52, 3 February 2023
Author | MatrixTSL |
Version | 1.0 |
Category | Timing |
Contents
PIC32 Core Timer component
Allows for easy and accurate timings using the built in Core timer on the PIC32 devices.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_TimerComponentPIC32Core.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TimerComponentPIC32Core.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Start_S
![]() |
Start_S |
A none blocking function that allows for accurate delays to be specified in seconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Start_InstructionCount
![]() |
Start_InstructionCount |
A none blocking function that allows for accurate delays to be specified in FOSC instructions using the core timer. | |
![]() |
Delay |
![]() |
Return |
Delay_S
![]() |
Delay_S |
A blocking function that allows for accurate delays to be specified in seconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Start_Ms
![]() |
Start_Ms |
A none blocking function that allows for accurate delays to be specified in milliseconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Start_Us
![]() |
Start_Us |
A none blocking function that allows for accurate delays to be specified in micro seconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Delay_Ms
![]() |
Delay_Ms |
A blocking function that allows for accurate delays to be specified in milliseconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Delay_InstructionCount
![]() |
Delay_InstructionCount |
A blocking function that allows for accurate delays to be specified in FOSC instructions using the core timer. | |
![]() |
Delay |
![]() |
Return |
Start_Ns
![]() |
Start_Ns |
A none blocking function that allows for accurate delays to be specified in nano seconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Delay_Us
![]() |
Delay_Us |
A blocking function that allows for accurate delays to be specified in micro seconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Delay_Ns
![]() |
Delay_Ns |
A blocking function that allows for accurate delays to be specified in nano seconds using the core timer. | |
![]() |
Delay |
![]() |
Return |
Check_Counter
![]() |
Check_Counter |
Checks to see if the counter time is elapsed. Used in conjunction with the Start_ component macros. Returns 1 if complete or 0 if still counting. | |
![]() |
Return |
Property reference
![]() |
Properties |