Synergy Software Package User's Manual
doc_instance_ctrl_t Struct Reference

#include <r_doc.h>

Data Fields

uint32_t open
 Used by driver to check if the control structure is valid.
 
void(* p_callback )(doc_callback_args_t *p_args)
 
doc_event_t event
 The event DOC is configured for. Passed in ISR callback.
 
void const * p_context
 
void * p_reg
 Base register.
 

Detailed Description

DOC instance control block. Do not initialize. Initialization occurs when the doc_api_t::open function is called.

Field Documentation

◆ p_callback

void(* doc_instance_ctrl_t::p_callback) (doc_callback_args_t *p_args)

Callback provided when a DOC ISR occurs. NULL indicates no CPU interrupt.

◆ p_context

void const* doc_instance_ctrl_t::p_context

Placeholder for user data. Passed to the user callback in doc_callback_args_t.


The documentation for this struct was generated from the following file: