Component: Deinterlace (DSP)

From Flowcode Help
Revision as of 16:53, 16 November 2021 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Matrix Ltd
Version 1.2
Category DSP


Deinterlace component

Allows multiple output buffers to be deinterlaced from a single input buffer. Useful for decoding multiple buffer channels sent via communications or storage.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png DeinterlaceArray
Repeats the deinterlace function as many times as set in the data count property. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Deinterlace
Outputs a single value to each of the connected output buffers from the input buffer. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetHandle
 
[[File:]] - Handle
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png IsPlaying
Checks to see if the last played track is still playing 
[[File:]] - Return


Fc9-comp-macro.png GetReplyByte
Reads a single byte from the last reply. Each reply contains 4 bytes starting with the command code. 
Fc9-u8-icon.png - BYTE Index
Range: 0-3 / 0=Command, 1=Feedback, 2=Data MSB, 3=Data LSB 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png SkipTrack
Jump to the next or previous track 
[[File:]] - Direction
0=Next, 1=Previous 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png PlayTrack
Plays track from the selected folder. MP3 & Advert folder track numbers should be 4 characters long e.g. 0001 any name.mp3, Other folder track numbers should be 3 characters long e.g. 001 Any name.mp3, Root the Track played in placement order. 
Fc9-u8-icon.png - BYTE Directory
0=Root, 1=Folder "01" - 99=Folder "99", 100=MP3, 101=Advert 
Fc9-u16-icon.png - UINT Track
Track number 1="001*.MP3" / "0001*.MP3", 100="100*.MP3" / "0100*.MP3" 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Initialise
Sets up the UART and does some housekeeping. Must be called before calling any of the other component macros. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadAnalogAsInt
Reads one of the analogue components as an Integer value 
Fc9-u8-icon.png - BYTE Channel
0 = LDR, 1 = POT 
[[File:]] - Return


Fc9-comp-macro.png RemapCharacter
Assigns a remap character allowing the PrintString function to automatically swap between pre-defined characters. The characters can be custom (in the range 0-9) or can point to an existing character in the LCD character map. 
Fc9-u8-icon.png - BYTE RemapIdx
Remap Index, Range: 0 to (Remap Characters - 1) 
Fc9-u8-icon.png - BYTE SearchCharacter
Character to look for a replace 
Fc9-u8-icon.png - BYTE ReplacementCharacter
New character value to use in place of the search character. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Start
Startup routine required by the hardware device. Automatically clears the display after initialising. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetLEDState
Sets the state of a single LED 
Fc9-u8-icon.png - BYTE Port
0 = PortA, 1 = PortB 
Fc9-u8-icon.png - BYTE LED
0 = LED0, 7 = LED7 
Fc9-u8-icon.png - BYTE State
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Initialise
Must be called before any other CAN component macros to enable and initialise the CAN peripheral.  
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-17-icon.png Connect To
DSP component with output buffer to collect our data from. 
Fc9-type-21-icon.png Buffer Size 0
 
Fc9-type-16-icon.png Buffer Type 0
 
Fc9-type-21-icon.png Buffer Size 1
 
Fc9-type-16-icon.png Buffer Type 1
 
Fc9-type-21-icon.png Buffer Size 2
 
Fc9-type-16-icon.png Buffer Type 2
 
Fc9-type-21-icon.png Buffer Size 3
 
Fc9-type-16-icon.png Buffer Type 3
 
Fc9-type-21-icon.png Buffer Size 4
 
Fc9-type-16-icon.png Buffer Type 4
 
Fc9-type-21-icon.png Buffer Size 5
 
Fc9-type-16-icon.png Buffer Type 5
 
Fc9-type-16-icon.png Number of Outputs
The number of inputs the multiplexer can switch between. 
Fc9-type-21-icon.png Data Count
Number of complete output packets the buffer can store. Default 1. 
Fc9-type-16-icon.png Input Mode
 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations