Type Alias fnGetCSIDFromConfig

Source
pub type fnGetCSIDFromConfig = Option<unsafe extern "C" fn(decoder_cfg: *const c_void, p_csid: *mut c_uchar) -> ocsd_err_t>;
Expand description

Function to extract the CoreSight Trace ID from the configuration structure.

@param *decoder_cfg : Hardware specific configuration for this trace element. @parma *p_csid : location to write CoreSight Trace ID value.

@return ocsd_err_t : Library error code - RCDTL_OK if successful

Aliased Type§

enum fnGetCSIDFromConfig {
    None,
    Some(unsafe extern "C" fn(*const c_void, *mut u8) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *mut u8) -> u32)

Some value of type T.