BL4S200 User’s Manual
103
setSync_H
int setSync_H(int channel, int edge);
FUNCTION DESCRIPTION
Enables or disables the global synch for the block the high-current output channel is
associated with.
PARAMETERS
channel
channel that is on the block that will have its synch set
edge
edge of the synch signal (0 will disable the synch).
BL_EDGE_RISE
— synchronize event on rising edge
BL_EDGE_FALL
— synchronize event on falling edge
BL_EDGE_BOTH
— synchronize events on both edges
RETURN VALUE
0 — success.
-EINVAL
— invalid parameter value.
SEE ALSO
brdInit, setPWM_H, setPPM_H
electronic components distributor