|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "product.h"#include "non_os.h"#include "core.h"#include "chip_io.h"#include "core_cm3.h"#include "arch_encoding.h"
宏定义 | |
| #define | int_enter_lock() __asm volatile(" cpsid i ") |
| #define | int_exit_lock() __asm volatile(" cpsie i ") |
| #define | int_disable_fault_exception() __asm volatile(" cpsid f ") |
| #define | int_enable_fault_exception() __asm volatile(" cpsie f ") |
| #define | FLASH_INIT_FLAG_REG 0x5700001c |
| #define | NON_OS_BT_ROM_VERSION_LEN 16 |
函数 | |
| void | non_os_register_critical_statistic (critical_statistic_handler handler) |
| register critical statistic hook function | |
| void | non_os_unregister_critical_statistic (void) |
| unregister critical statistic hook function | |
| void | non_os_register_critical_record (critical_record_handler handler) |
| register critical record hook function | |
| void | non_os_unregister_critical_record (void) |
| unregister critical record hook function | |
| void | non_os_enter_critical (void) |
| Enter in a critical section. | |
| void | non_os_exit_critical (void) |
| Exit a critical section. | |
| void | non_os_critical_section_init (void) |
| Ensures interrupts are enabled and the interrupt nested counter is reset. | |
| bool | non_os_is_in_critical_section (void) |
| Checks if the system is running on a critical section. | |
| bool | non_os_is_driver_initialised (driver_init_bit_e driver) |
| Gets the value of the drivers flag bit, then converts into a bool | |
| void | non_os_set_driver_initalised (driver_init_bit_e driver, bool value) |
| Sets the value of the specified bit | |
| bool | non_os_is_aon_flag_initialised (aon_init_bit_e driver) |
| check aon flag is set flag save on aon only rst when all rst(not only cpu reset) | |
| void | non_os_set_aon_flag_initalised (aon_init_bit_e driver, bool value) |
| set aon flag flag save on aon only rst when all rst(not only cpu reset) | |
| const char * | non_os_get_bt_rom_version (void) |
| get bt rom version. | |
变量 | |
| const char | g_bt_rom_version [16] = "XXXXXXV100" |
| #define FLASH_INIT_FLAG_REG 0x5700001c |
| #define int_disable_fault_exception | ( | ) | __asm volatile(" cpsid f ") |
| #define int_enable_fault_exception | ( | ) | __asm volatile(" cpsie f ") |
| #define int_enter_lock | ( | ) | __asm volatile(" cpsid i ") |
| #define int_exit_lock | ( | ) | __asm volatile(" cpsie i ") |
| #define NON_OS_BT_ROM_VERSION_LEN 16 |
| const char g_bt_rom_version[16] = "XXXXXXV100" |