|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "product.h"#include "chip_definitions.h"#include "chip_core_definition.h"#include "string.h"

结构体 | |
| struct | oml_rx_data_stru_t |
| struct | rw_reg_mem_cmd_t |
宏定义 | |
| #define | LIB_LOG_READER_LOG_OAM_MSG_H |
| #define | LOG_OML_HEADER_PRIME_ID_MASK (0x0F) |
| #define | LOG_OAM_RX_BUFF_LEN (300) |
| #define | LOG_OAM_RX_BUFF_NUM (2) |
| #define | REGMEM_ADDR_AND_VALUE_MAX_LEN (2) |
类型定义 | |
| typedef void(* | ramfunc_oml_csstat_cmd) (uint8_t *, uint8_t) |
| typedef void(* | oam_cmd_handle_callback) (uint8_t *, uint16_t) |
枚举 | |
| enum | oam_ret_t { OAM_RET_OK , OAM_ERR_POINT_NULL , OAM_ERR_LEN_ERR , OAM_ERR_OP_ERR , OAM_ERR_SIZE_ERR , OAM_ERR_VALUE_ERR } |
| Definitions of the operation result 更多... | |
| enum | OM_LOG_CONFIG_RESULT_ENUM { OM_LOG_CONFIG_SUCCESS = 0 , OM_LOG_CONFIG_FAIL = 1 , OM_LOG_CONFIG_RESULT_BUTT } |
| enum | OM_IF_TYPE_ENUM { OM_IF_UART = 0 , OM_IF_SDIO = 1 , OM_IF_TYPE_BUTT } |
| enum | OM_TXQUEUE_NODE_STATUS { OM_TXQUEUE_NODE_INVALID , OM_TXQUEUE_NODE_VALID } |
| enum | oml_buff_status_t { OML_BUFF_NOT_USED , OML_BUFF_USING , OML_BUFF_USED , OML_BUFF_BUTT } |
函数 | |
| uint32_t | parse_reg_or_mem_cmd_operate (const uint8_t *data, uint32_t len, rw_reg_mem_cmd_t *reg_mem_cmd) |
| Parse the opetaion in the command. | |
| uint32_t | parse_reg_or_mem_cmd_size (const uint8_t *data, uint32_t len, rw_reg_mem_cmd_t *reg_mem_cmd) |
| Parse the value size in the command. | |
| uint32_t | parse_reg_or_mem_cmd_addr_value (const uint8_t *data, uint32_t len, rw_reg_mem_cmd_t *reg_mem_cmd) |
| Parse the addr and value in the command. | |
| bool | log_oam_register_handler_callback (uint8_t message_type, oam_cmd_handle_callback callback) |
| void | log_oam_prase_message (void) |
| void | oml_msg_parse (uint8_t *data, uint16_t data_len) |