Driver of ST X-NUCLEO-OUT01A1 Industrial Digital output expansion board based on ISO8200BQ component.

Dependents:   HelloWorld_OUT01A1

Embed: (wiki syntax)

« Back to documentation index

ISO8200BQ Class Reference

ISO8200BQ Class Reference

Abstract class of a ISO8200BQ octal smart power solid state-relay. More...

#include <ISO8200BQ.h>

Inherits Component.

Public Member Functions

 ISO8200BQ (PinName OUT_EN, PinName N_SYNC, PinName N_LOAD)
 Constructor.
virtual int init (void *init)
 One time device initialization.
virtual int read_id (uint8_t *id)
 Getting the ID of the component.
void enable_outputs (bool enable)
 Enable/Disable all outputs.
bool are_outputs_enabled (void)
 Get outputs enabling status.
void sync_mode_load_inputs (void)
 Load input pin status into input buffer (synch mode)
void sync_mode_update_outputs (void)
 Update outputs accordingly to input buffer (synch mode)
void direct_mode (void)
 Update outputs accordingly to input pins (direct mode)

Detailed Description

Abstract class of a ISO8200BQ octal smart power solid state-relay.

Definition at line 57 of file ISO8200BQ.h.


Constructor & Destructor Documentation

ISO8200BQ ( PinName  OUT_EN,
PinName  N_SYNC,
PinName  N_LOAD 
)

Constructor.

Parameters:
OUT_ENOutput enable pin.
N_SYNCInput-to-output synchronization signal. Active low.
N_LOADLoad input data signal. Active low.

Definition at line 51 of file ISO8200BQ.cpp.


Member Function Documentation

bool are_outputs_enabled ( void   )

Get outputs enabling status.

Return values:
Returnstrue if outputs are enabled, false otherwise

Definition at line 98 of file ISO8200BQ.cpp.

void direct_mode ( void   )

Update outputs accordingly to input pins (direct mode)

Definition at line 133 of file ISO8200BQ.cpp.

void enable_outputs ( bool  enable )

Enable/Disable all outputs.

Parameters:
enableEnable the outputs when true, disable otherwise

Definition at line 88 of file ISO8200BQ.cpp.

int init ( void *  init ) [virtual]

One time device initialization.

Parameters:
void
Return values:
0in case of success, an error code otherwise.

Implements Component.

Definition at line 75 of file ISO8200BQ.cpp.

int read_id ( uint8_t *  id = NULL ) [virtual]

Getting the ID of the component.

Parameters:
idPointer to an allocated variable to store the ID into.
Return values:
0in case of success, an error code otherwise.

Implements Component.

Definition at line 63 of file ISO8200BQ.cpp.

void sync_mode_load_inputs ( void   )

Load input pin status into input buffer (synch mode)

Definition at line 107 of file ISO8200BQ.cpp.

void sync_mode_update_outputs ( void   )

Update outputs accordingly to input buffer (synch mode)

Definition at line 119 of file ISO8200BQ.cpp.