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

The bus controller should be started with default configurations. Set the network address switches to 0xFE.

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