Macros
Defines
SYSTEM » System SDK

## Macros
#define | SYS_BOOT_SETTING_PATTERN 0x474F4F44
#define | SYS_BOOT_SETTING_RSV_MAGIC 0xFFFFFFFF
#define | SYS_BOOT_SETTING_SWD_ENABLE 0xFF
#define | SYS_BOOT_SETTING_SWD_DISABLE 0xA5
#define | SYS_SCA_SETTING_ADDR 0x0027F000
#define | SYS_INVALID_TIMER_ID 0xFF
#define | SYS_BD_ADDR_LEN BLE_GAP_ADDR_LEN
#define | SYS_CHIP_UID_LEN 0x10
#define | SYS_SET_BD_ADDR(BD_ADDR_ARRAY) nvds_put(0xC001, SYS_BD_ADDR_LEN, BD_ADDR_ARRAY)
#define | SYS_ROM_VERSION_ADDR ((uint32_t)(0x200))
#define | CHECK_IS_ON_FPGA() (MCU_SUB->FPGA_CTRL & MCU_SUB_FPGA_CTRL_REG_EXIST)

## Detailed Description

## Macro Definition Documentation

## ◆ CHECK_IS_ON_FPGA

#define CHECK_IS_ON_FPGA | ( |  | ) | (MCU_SUB->FPGA_CTRL & MCU_SUB_FPGA_CTRL_REG_EXIST)

Definition at line 78 of file gr5405_sys_sdk.h.

## ◆ SYS_BD_ADDR_LEN

#define SYS_BD_ADDR_LEN BLE_GAP_ADDR_LEN

Length of Bluetoth Device Address.

Definition at line 74 of file gr5405_sys_sdk.h.

## ◆ SYS_BOOT_SETTING_PATTERN

#define SYS_BOOT_SETTING_PATTERN 0x474F4F44

Definition at line 68 of file gr5405_sys_sdk.h.

## ◆ SYS_BOOT_SETTING_RSV_MAGIC

#define SYS_BOOT_SETTING_RSV_MAGIC 0xFFFFFFFF

Definition at line 69 of file gr5405_sys_sdk.h.

## ◆ SYS_BOOT_SETTING_SWD_DISABLE

#define SYS_BOOT_SETTING_SWD_DISABLE 0xA5

Definition at line 71 of file gr5405_sys_sdk.h.

## ◆ SYS_BOOT_SETTING_SWD_ENABLE

#define SYS_BOOT_SETTING_SWD_ENABLE 0xFF

Definition at line 70 of file gr5405_sys_sdk.h.

## ◆ SYS_CHIP_UID_LEN

#define SYS_CHIP_UID_LEN 0x10

Length of Bluetoth Chip UID.

Definition at line 75 of file gr5405_sys_sdk.h.

## ◆ SYS_INVALID_TIMER_ID

#define SYS_INVALID_TIMER_ID 0xFF

Invalid system Timer ID.

Definition at line 73 of file gr5405_sys_sdk.h.

## ◆ SYS_ROM_VERSION_ADDR

#define SYS_ROM_VERSION_ADDR ((uint32_t)(0x200))

The rom version address.

Definition at line 77 of file gr5405_sys_sdk.h.

## ◆ SYS_SCA_SETTING_ADDR

#define SYS_SCA_SETTING_ADDR 0x0027F000

Definition at line 72 of file gr5405_sys_sdk.h.

## ◆ SYS_SET_BD_ADDR

#define SYS_SET_BD_ADDR | ( |  | BD_ADDR_ARRAY | ) | nvds_put(0xC001, SYS_BD_ADDR_LEN, BD_ADDR_ARRAY)

NVDS put BD address.

Definition at line 76 of file gr5405_sys_sdk.h.