pub unsafe extern "C" fn digital_sequence_register_signal(
sequence: *mut DigitalSequence,
signal_index: u8,
signal: *const DigitalSignal,
)Expand description
Register a signal within a DigitalSequence instance by its index.
This function must be called for each signal to be used in the sequence. The DigitalSequence instance does not own the signals, therefore, their lifetime must be no less than the instance’s.
The user is responsible for creation and deletion of DigitalSignal instances and also for keeping track of their respective indices.
§Arguments
sequence(direction in, out) - pointer to the instance to be modified.signal_index(direction in) - index to register the signal under (must be less than 32).signal(direction in) - pointer to the DigitalSignal instance to be registered.