Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedef

This section introduces the typedef that MBOX OS-HAL used. More...

Overview

This section introduces the typedef that MBOX OS-HAL used.

Typedefs

typedef void(* mtk_os_hal_mbox_cb )(struct mtk_os_hal_mbox_cb_data *data)
 This defines the callback function prototype. More...
 

Typedef Documentation

typedef void(* mtk_os_hal_mbox_cb)(struct mtk_os_hal_mbox_cb_data *data)

This defines the callback function prototype.

Usage: It's called when FIFO or software interrupt come.
User can register the callback function when using MBOX mtk_os_hal_mbox_sw_int_register_cb and/or mtk_os_hal_mbox_fifo_register_cb API.
Please do NOT operate MBOX in callback function.

Parameters
[in]data: the argument of user callback.