Jump to main content

##

# 2.98.4 RSWDT_CALLBACK Typedef

## C

    typedef void (*RSWDT_CALLBACK)(uintptr_t context)

## Summary

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

## Description

This data type defines the function signature for the RSWDT peripheral callback function. The RSWDT peripheral will call back the client's function with this signature when the Timeout event has occurred. This feature may or may not be available based on device.

## Precondition

RSWDT_Initialize must have been called for the given RSWDT peripheral instance and RSWDT_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 pointerto the callers context for multi-instance clients)

## Returns

None.

## Remarks

None.