2.7.1 Interface Behavior

The SAM C21 Diagnostic Library supports three interfacing behaviors:

  • Call/Return - this interface is synchronous. The behavior of synchronous interfacing immediately returns the success or failure of the specific diagnostic operation.
  • Interrupt callback - this interface is asynchronous. The behavior of asynchronous interfacing is the handling of interrupt notifications via a registered callback routine.
  • void - this interface is used to setup or provide initialization for a subsequent test.