Raptor-Dev Serial Library

From NewEagleWiki
Revision as of 20:07, 15 December 2016 by MHowlett (talk | contribs) (Created page with '{{DISPLAYTITLE:Raptor-Dev Serial Library}} {{Navigation}} Raptor Platform > Raptor-Dev > Raptor-Dev Library > '''Raptor-Dev S…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Library > Raptor-Dev Serial Library

Raptor™ Serial

The blocks in this subsystem are access ECU hardware serial resources (if supported) such as RS232 and RS485.

Blocks

Block Description Appearance
Serial Definition

This block is used to create a serial bus resource and map it to a particular hardware I/O point. This block will generate all the code necessary to connect and coordinate all the Raptor serial blocks with the hardware interface. Each serial bus that will be used in the model must include a serial definition block. Only one serial definition block can exist for any particular hardware resource.

Serial Definition block
Serial Definition block
Serial Rx

This block is used to receive serial data. There is only one receive queu for each serial bus which is used by all serial Rx block for that bus.

Serial Rx block
Serial Rx block
Serial Trigger

The serial trigger block is used to execute code when a data byte is recieved on a serial port.

Serial Trigger block
Serial Trigger block
Serial Tx

This block is used to transmit a byte on the serial bus. The data is queued for transmit whenever the block is executed. There is only a single transmit queue for each serial resource.

Serial Rx block
Serial Rx block