adapnex::drivers::bnr_x2x::X20DS4389::EdgeGenerator

Hardware edge generator unit.

Synopsis

Declared in <adapnex/drivers/bnr_x2x/x20ds4389.h>

class EdgeGenerator;

Description

An edge generator produces up to 4 configurable edges (transitions) on the output channels (3, 4, 7, 8) with microsecond timing accuracy, independent of the X2X cycle. Each edge is scheduled relative to another edge of the same unit using a configurable time Offset.

The configured output channel must be set to one of the kOutputPush / kOutputPull / kOutputPushPull modes via InputOutputChannel::Configure for the edge generator to take effect on that channel.

Edges form a directed graph through their "source" references. Because every edge is scheduled relative to another edge, at least one edge in each cycle of references must be marked as a "ring header". That edge becomes the starting point of the cycle. In most cases Edge1 should be configured as the ring header.

Types

Name

Description

Edge

A single edge produced by the edge generator.

Enums

Name

Description

Channel

Physical output channel that an edge drives.

Polarity

Edge polarity (signal transition direction) at the output.

Trigger

Reference edge that an edge is scheduled relative to. The edge's time of occurrence is the source edge's time plus the configured Offset. An edge may reference itself or another edge to form rings, in which case one edge in the ring must be marked as ring_header.

Data Members

Name

Description

Edge1

Edge2

Edge3

Edge4

Enable

Master enable for the edge generator unit. When false, the unit produces no edges and the corresponding output channels remain in their idle state.

Friends

Name Description

adapnex::drivers::bnr_x2x::X20DS4389

B&R X20DS4389 Digital Signal Processor Module (4 DI + 4 DI/DO, edge generation)

Created with MrDocs