WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
CPU Utils

类型定义

typedef void(* cpu_utils_reboot_cb) (int32_t)
 

函数

void cpu_utils_reset_chip_with_log (cores_t core, reboot_cause_t cause)
 Resets the entire chip, and logging information
 
void cpu_utils_reset_chip_with_cause (reboot_cause_t cause)
 Reset the entire chip with reboot cause
 
void cpu_utils_init (void)
 Registers the IPC action for the core reboot
 
cores_t cpu_utils_core_images_to_cores (core_images_e cimage)
 Return the core associated with a given core image
 
void cpu_utils_set_system_status_by_cause (reboot_cause_t cause)
 set reboot cause & set reboot magic
 
void cpu_utils_set_mcu_callback (cpu_utils_reboot_cb cb)
 Registers the call back for the Bt core reboot
 

详细描述

类型定义说明

◆ cpu_utils_reboot_cb

typedef void(* cpu_utils_reboot_cb) (int32_t)

函数说明

◆ cpu_utils_core_images_to_cores()

cores_t cpu_utils_core_images_to_cores ( core_images_e  cimage)

Return the core associated with a given core image

参数
cimagecore image
返回
physical core associated with core_images_e

◆ cpu_utils_init()

void cpu_utils_init ( void  )

Registers the IPC action for the core reboot

◆ cpu_utils_reset_chip_with_cause()

void cpu_utils_reset_chip_with_cause ( reboot_cause_t  cause)

Reset the entire chip with reboot cause

◆ cpu_utils_reset_chip_with_log()

void cpu_utils_reset_chip_with_log ( cores_t  core,
reboot_cause_t  cause 
)

Resets the entire chip, and logging information

参数
coreThe core to request reboot
causeThe reboot reason

◆ cpu_utils_set_mcu_callback()

void cpu_utils_set_mcu_callback ( cpu_utils_reboot_cb  cb)

Registers the call back for the Bt core reboot

参数
cbcallback function

◆ cpu_utils_set_system_status_by_cause()

void cpu_utils_set_system_status_by_cause ( reboot_cause_t  cause)

set reboot cause & set reboot magic

参数
causereboot cause