1.8.18.11 1.25.18.11 1.26.16.11 1.28.21.11 1.34.17.11 1.35.12.11 1.36.15.11 1.41.18.11 1.42.16.11 RTT_CALLBACK Typedef

C

typedef void (*RTT_CALLBACK)(RTT_INTERRUPT_TYPE type, uintptr_t context);

Summary

Defines the data type and function signature for the RTT peripheral callback function.

Description

This data type defines the function signature for the RTT peripheral callback function. The RTT peripheral will call back the client's function with this signature once the alarm match or periodic interrupt occurs.

Precondition

RTT_CallbackRegister must have been called to set the function to be called.

Parameters

Param Description
context Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients)
type Reason for the interrupt

Returns

None.