adapnex::drivers::bnr_x2x::X20BC0087Driver

Driver for the X20BC0087 bus controller.

Synopsis

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

class X20BC0087Driver final
    : public core::Task

Description

We recommend leaving the factory default configuration on the bus controller to avoid configuration conflicts. Setting the network address switches to 0xFE ensures the factory default configuration is loaded at boot. However, if an X2X Link bus cycle time other than 4ms is desired, a setting between 0x00 and 0xF0 must be used.

Base Classes

Name Description

core::Task

Task represents a base class to implement schedulable application components. Tasks are combined via TaskGroup and executed by the scheduler according to the given scheduling parameters. See Application::CreateCyclicTaskGroup() and Application::CreateFreewheelingTaskGroup().

Member Functions

Name

Description

X20BC0087Driver [constructor]

Default constructor

~X20BC0087Driver [destructor] [virtual]

Destructor

AddModule

Adds a module to the bus controller. The driver will return the first available module of this type on the X2X Link bus. To add multiple modules of the same type, call AddModule for each. They will be returned in physical order.

FirmwareVersion

Returns the active firmware version of the bus controller.

SerialNumber

Returns the serial number of the bus controller.

Protected Member Functions

Name

PostUpdate [virtual]

PreUpdate [virtual]

Setup [virtual]

Update [virtual]

Created with MrDocs