Flowcode Project File Parser
Ben Rowland 2019 (C) Matrix TSL
Target Device
PIC.16F.16F1937
Constants
BOOL false
FLOAT PHI
BOOL true
Globals
SIGNED INT X_Var
BYTE Current_Address
SIGNED INT Y_Var
BYTE Accel_Address
SIGNED INT Z_Var
BYTE Compass_Address
SIGNED INT Cz
SIGNED INT Cy
SIGNED INT Cx
Read_Register
Return: BYTE
Params: BYTE Reg
Vars: BYTE dat
ReadTemperature
Return: SIGNED INT
Vars: BYTE dat
SimSetTemperature
Return: VOID
Params: SIGNED INT Temp
Ev_Timer
Return: UNSIGNED LONG
Params: UNSIGNED LONG TimerID
Vars: HANDLE Handle
SimReset1G
Return: VOID
UpdateGyroData
Return: BYTE
Vars: BYTE dat
ReadTemperatureSim
Return: SIGNED INT
Vars: STRING data
Write_Register
Return: BYTE
Params: BYTE Reg
BYTE Data
Vars: BYTE dat
UpdateCompassData
Return: BYTE
Vars: BYTE dat
SimSetAccelerometer
Return: VOID
Params: SIGNED INT X
SIGNED INT Y
SIGNED INT Z
Vars: FLOAT real_val
FLOAT accel_range
Ev_Initialise
Return: UNSIGNED LONG
Vars: STRING temp_str
End_Transaction
Return: VOID
Write_AK8963_Register
Return: VOID
Params: BYTE Reg
BYTE Data
Ev_ChipChange
Return: UNSIGNED LONG
Params: STRING Target
Vars: STRING temp_str
UpdateAccelerometerDataSim
Return: BYTE
Vars: BYTE temp_reg
FLOAT Reading
FLOAT accel_range
Ev_Property
Return: UNSIGNED LONG
Vars: STRING temp_str
CollectXYZData
Return: SIGNED INT
Params: BYTE Axis
Read_AK8963_Registers
Return: VOID
Params: BYTE Start_Reg
BYTE Num_Regs
BYTE data
Vars: BYTE dat
Write_N_Registers
Return: VOID
Params: BYTE Start_Reg
BYTE Num_Regs
STRING Data
Vars: BYTE idx
BYTE dat
Ev_Renamed
Return: UNSIGNED LONG
Vars: STRING Name
ReadCompassCalibration
Return: BYTE
Params: BYTE Axis
Vars: BYTE Ax
BYTE dat
Read_N_Registers
Return: VOID
Params: BYTE Start_Reg
BYTE Num_Regs
BYTE Data
Vars: BYTE dat
SimSetGyro
Return: VOID
Params: SIGNED INT X
SIGNED INT Y
SIGNED INT Z
Vars: FLOAT real_val
FLOAT gyro_range
UpdateAccelerometerData
Return: BYTE
Vars: BYTE Dat
UpdateCompassData_Sim
Return: BYTE
Vars: BYTE temp_reg
FLOAT Reading
FLOAT compass_range
SimSetCompass
Return: VOID
Params: SIGNED INT X
SIGNED INT Y
SIGNED INT Z
Vars: FLOAT real_val
FLOAT compass_range
Init_Transaction
Return: VOID
Params: BYTE Mode
BYTE Reg
BYTE Multiple
Vars: BYTE temp_addr
BYTE ack
Read_Bearing
Return: UNSIGNED INT
Params: BYTE NumSamples
Vars: FLOAT fcalc
FLOAT FXY
Prv_SetScales
Return: VOID
Vars: BYTE subdivs
BYTE divs
FLOAT accel_range
FLOAT gyro_range
Main
Return: VOID
Initialise
Return: BYTE
Vars: BYTE Dat
UpdateGyroDataSim
Return: BYTE
Vars: BYTE temp_reg
FLOAT Reading
FLOAT gyro_range
Verison History
Version 0.6
12/09/19 BR - Created initial recursive parser
14/09/19 BR - Added support for disabled icons
18/09/19 BR - Fixed decision icon parsing
19/09/19 BR - Added switch icon support
23/09/19 BR - Fixed recursive loop spacing
27/09/19 BR - Further tweaked spacing and added Macro menu
30/09/19 BR - Improved all string spacing
01/10/19 BR - Improved While icon support