Driver of ST X-NUCLEO-OUT01A1 Industrial Digital output expansion board based on ISO8200BQ component.
Dependents: HelloWorld_OUT01A1
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_EN Output enable pin. N_SYNC Input-to-output synchronization signal. Active low. N_LOAD Load 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:
-
Returns true 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:
-
enable Enable 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:
-
0 in 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:
-
id Pointer to an allocated variable to store the ID into.
- Return values:
-
0 in 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.
Generated on Tue Jul 12 2022 20:17:02 by 1.7.2