Component: Output Digital Pin (DSP)

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


Output Digital Pin component

Allows the values from a buffer to be passed directly to a digital output pin based on a defined threshold.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png SetPin
Takes the value from the connected DSP buffer and outputs to the selected pin based on the selected threshold values. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetInt
Returns a value from the specified buffer and scales it appropriatley if required. Auto increments the read location. 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png GetByteArray
Returns an array of values from the specified buffer and scales it appropriatley if required. Auto increments the read location. 
Fc9-u8-icon.png - BYTE Data
 
Fc9-u16-icon.png - UINT Count
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetByte
Returns a value from the specified buffer and scales it appropriatley if required. Auto increments the read location. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png ResetRecords
Allows the peak and trough to be reset back to default values. 
[[File:]] - ResetPeak
 
[[File:]] - ResetTrough
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReceiveString
Gets a string from the receive buffer 
Fc9-u16-icon.png - UINT MaxChars
 
Fc9-u16-icon.png - UINT Timeout
Time in milliseconds to wait for data 
Fc9-string-icon.png - STRING Return


Fc9-comp-macro.png Initialise
Initialises the UART component pins ready to send and receive data 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReceiveString
Receives a string of bytes and returns the number of bytes received. 
Fc9-string-icon.png - STRING StringData
 
Fc9-u16-icon.png - UINT NumBytes
Maximum number of bytes to try and receive 
Fc9-u16-icon.png - UINT Timeout
Max amount of time in ms to wait between bytes 
Fc9-u8-icon.png - BYTE 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 GetRxIdent
Gets the Rx ID as a Integer Standard and Extended IDs. 
Fc9-u8-icon.png - BYTE Buffer
 
Fc9-u32-icon.png - ULONG 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
 
Fc9-type-5-icon.png Output Pin
 
Fc9-type-21-icon.png Threshold Value
Sets the level at which the pin goes into the active state. >= the threshold the pin will be in the active state. < the threshold the pin will be in the none active state. 
Fc9-type-16-icon.png Pin State
Selects the output level to use when the pin is in the active state. Active High - Pin will pull to VCC (high) when active and pull to VSS (low) when none active. Active Low - Pin will pull to VSS (low) when active and pull to VCC (high) when none active. 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations