37 WIRELESS_FW_RUNNING = 0x00,
38 FUS_FW_RUNNING = 0x01,
39 } SHCI_SysEvt_Ready_Rsp_t;
51 ERR_THREAD_LLD_FATAL_ERROR = 125,
52 ERR_THREAD_UNKNOWN_CMD = 126,
53 ERR_ZIGBEE_UNKNOWN_CMD = 200,
54 } SCHI_SystemErrCode_t;
56 #define SHCI_EVTCODE ( 0xFF ) 57 #define SHCI_SUB_EVT_CODE_BASE ( 0x9200 ) 64 SHCI_SUB_EVT_CODE_READY = SHCI_SUB_EVT_CODE_BASE,
65 SHCI_SUB_EVT_ERROR_NOTIF,
66 SHCI_SUB_EVT_BLE_NVM_RAM_UPDATE,
67 SHCI_SUB_EVT_THREAD_NVM_RAM_UPDATE,
68 SHCI_SUB_EVT_NVM_START_WRITE,
69 SHCI_SUB_EVT_NVM_END_WRITE,
70 SHCI_SUB_EVT_NVM_START_ERASE,
71 SHCI_SUB_EVT_NVM_END_ERASE,
72 SHCI_SUB_EVT_CODE_CONCURRENT_802154_EVT,
80 typedef PACKED_STRUCT{
81 SHCI_SysEvt_Ready_Rsp_t sysevt_ready_rsp;
88 typedef PACKED_STRUCT{
89 SCHI_SystemErrCode_t errorCode;
99 typedef PACKED_STRUCT{
100 uint32_t StartAddress;
111 typedef PACKED_STRUCT{
112 uint32_t StartAddress;
125 typedef PACKED_STRUCT{
126 uint32_t NumberOfWords;
143 typedef PACKED_STRUCT{
144 uint32_t NumberOfSectors;
153 typedef PACKED_STRUCT
166 SHCI_UNKNOWN_CMD = 0x01,
167 SHCI_ERR_UNSUPPORTED_FEATURE = 0x11,
168 SHCI_ERR_INVALID_HCI_CMD_PARAMS = 0x12,
169 SHCI_ERR_INVALID_PARAMS = 0x42,
170 SHCI_FUS_CMD_NOT_SUPPORTED = 0xFF,
180 #define SHCI_OGF ( 0x3F ) 181 #define SHCI_OCF_BASE ( 0x50 ) 188 SHCI_OCF_C2_RESERVED1 = SHCI_OCF_BASE,
189 SHCI_OCF_C2_RESERVED2,
190 SHCI_OCF_C2_FUS_GET_STATE,
191 SHCI_OCF_C2_FUS_RESERVED1,
192 SHCI_OCF_C2_FUS_FW_UPGRADE,
193 SHCI_OCF_C2_FUS_FW_DELETE,
194 SHCI_OCF_C2_FUS_UPDATE_AUTH_KEY,
195 SHCI_OCF_C2_FUS_LOCK_AUTH_KEY,
196 SHCI_OCF_C2_FUS_STORE_USR_KEY,
197 SHCI_OCF_C2_FUS_LOAD_USR_KEY,
198 SHCI_OCF_C2_FUS_START_WS,
199 SHCI_OCF_C2_FUS_RESERVED2,
200 SHCI_OCF_C2_FUS_RESERVED3,
201 SHCI_OCF_C2_FUS_LOCK_USR_KEY,
202 SHCI_OCF_C2_FUS_UNLOAD_USR_KEY,
203 SHCI_OCF_C2_FUS_ACTIVATE_ANTIROLLBACK,
204 SHCI_OCF_C2_FUS_RESERVED7,
205 SHCI_OCF_C2_FUS_RESERVED8,
206 SHCI_OCF_C2_FUS_RESERVED9,
207 SHCI_OCF_C2_FUS_RESERVED10,
208 SHCI_OCF_C2_FUS_RESERVED11,
209 SHCI_OCF_C2_FUS_RESERVED12,
210 SHCI_OCF_C2_BLE_INIT,
211 SHCI_OCF_C2_THREAD_INIT,
212 SHCI_OCF_C2_DEBUG_INIT,
213 SHCI_OCF_C2_FLASH_ERASE_ACTIVITY,
214 SHCI_OCF_C2_CONCURRENT_SET_MODE,
215 SHCI_OCF_C2_FLASH_STORE_DATA,
216 SHCI_OCF_C2_FLASH_ERASE_DATA,
217 SHCI_OCF_C2_RADIO_ALLOW_LOW_POWER,
218 SHCI_OCF_C2_MAC_802_15_4_INIT,
220 SHCI_OCF_C2_ZIGBEE_INIT,
221 SHCI_OCF_C2_LLD_TESTS_INIT,
222 SHCI_OCF_C2_EXTPA_CONFIG,
223 SHCI_OCF_C2_SET_FLASH_ACTIVITY_CONTROL,
224 SHCI_OCF_C2_BLE_LLD_INIT,
226 SHCI_OCF_C2_CONCURRENT_GET_NEXT_BLE_EVT_TIME,
227 SHCI_OCF_C2_CONCURRENT_ENABLE_NEXT_802154_EVT_NOTIFICATION,
228 SHCI_OCF_C2_802_15_4_DEINIT,
231 #define SHCI_OPCODE_C2_FUS_GET_STATE (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_GET_STATE) 237 FUS_STATE_ERROR_NO_ERROR = 0x00,
238 FUS_STATE_ERROR_IMG_NOT_FOUND = 0x01,
239 FUS_STATE_ERROR_IMG_CORRUPT = 0x02,
240 FUS_STATE_ERROR_IMG_NOT_AUTHENTIC = 0x03,
241 FUS_STATE_ERROR_IMG_NOT_ENOUGH_SPACE = 0x04,
242 FUS_STATE_ERROR_IMAGE_USRABORT = 0x05,
243 FUS_STATE_ERROR_IMAGE_ERSERROR = 0x06,
244 FUS_STATE_ERROR_IMAGE_WRTERROR = 0x07,
245 FUS_STATE_ERROR_AUTH_TAG_ST_NOTFOUND = 0x08,
246 FUS_STATE_ERROR_AUTH_TAG_CUST_NOTFOUND = 0x09,
247 FUS_STATE_ERROR_AUTH_KEY_LOCKED = 0x0A,
248 FUS_STATE_ERROR_FW_ROLLBACK_ERROR = 0x11,
249 FUS_STATE_ERROR_STATE_NOT_RUNNING = 0xFE,
250 FUS_STATE_ERROR_ERR_UNKNOWN = 0xFF,
255 FUS_STATE_VALUE_IDLE = 0x00,
256 FUS_STATE_VALUE_FW_UPGRD_ONGOING = 0x10,
257 FUS_STATE_VALUE_FW_UPGRD_ONGOING_END = 0x1F,
258 FUS_STATE_VALUE_FUS_UPGRD_ONGOING = 0x20,
259 FUS_STATE_VALUE_FUS_UPGRD_ONGOING_END = 0x2F,
260 FUS_STATE_VALUE_SERVICE_ONGOING = 0x30,
261 FUS_STATE_VALUE_SERVICE_ONGOING_END = 0x3F,
262 FUS_STATE_VALUE_ERROR = 0xFF,
265 #define SHCI_OPCODE_C2_FUS_RESERVED1 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED1) 269 #define SHCI_OPCODE_C2_FUS_FW_UPGRADE (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_FW_UPGRADE) 273 #define SHCI_OPCODE_C2_FUS_FW_DELETE (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_FW_DELETE) 277 #define SHCI_OPCODE_C2_FUS_UPDATE_AUTH_KEY (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_UPDATE_AUTH_KEY) 278 typedef PACKED_STRUCT{
281 } SHCI_C2_FUS_UpdateAuthKey_Cmd_Param_t;
285 #define SHCI_OPCODE_C2_FUS_LOCK_AUTH_KEY (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_LOCK_AUTH_KEY) 289 #define SHCI_OPCODE_C2_FUS_STORE_USR_KEY (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_STORE_USR_KEY) 295 KEYTYPE_SIMPLE = 0x01,
296 KEYTYPE_MASTER = 0x02,
297 KEYTYPE_ENCRYPTED = 0x03,
307 typedef PACKED_STRUCT{
310 uint8_t KeyData[32 + 12];
311 } SHCI_C2_FUS_StoreUsrKey_Cmd_Param_t;
316 #define SHCI_OPCODE_C2_FUS_LOAD_USR_KEY (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_LOAD_USR_KEY) 322 #define SHCI_OPCODE_C2_FUS_START_WS (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_START_WS) 326 #define SHCI_OPCODE_C2_FUS_RESERVED2 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED2) 330 #define SHCI_OPCODE_C2_FUS_RESERVED3 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED3) 334 #define SHCI_OPCODE_C2_FUS_LOCK_USR_KEY (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_LOCK_USR_KEY) 340 #define SHCI_OPCODE_C2_FUS_UNLOAD_USR_KEY (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_UNLOAD_USR_KEY) 344 #define SHCI_OPCODE_C2_FUS_ACTIVATE_ANTIROLLBACK (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_ACTIVATE_ANTIROLLBACK) 348 #define SHCI_OPCODE_C2_FUS_RESERVED7 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED7) 352 #define SHCI_OPCODE_C2_FUS_RESERVED8 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED8) 356 #define SHCI_OPCODE_C2_FUS_RESERVED9 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED9) 360 #define SHCI_OPCODE_C2_FUS_RESERVED10 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED10) 364 #define SHCI_OPCODE_C2_FUS_RESERVED11 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED11) 368 #define SHCI_OPCODE_C2_FUS_RESERVED12 (( SHCI_OGF << 10) + SHCI_OCF_C2_FUS_RESERVED12) 372 #define SHCI_OPCODE_C2_BLE_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_BLE_INIT) 374 typedef PACKED_STRUCT{
563 typedef PACKED_STRUCT{
566 } SHCI_C2_Ble_Init_Cmd_Packet_t;
573 #define SHCI_C2_BLE_INIT_OPTIONS_LL_ONLY (1<<0) 574 #define SHCI_C2_BLE_INIT_OPTIONS_LL_HOST (0<<0) 576 #define SHCI_C2_BLE_INIT_OPTIONS_NO_SVC_CHANGE_DESC (1<<1) 577 #define SHCI_C2_BLE_INIT_OPTIONS_WITH_SVC_CHANGE_DESC (0<<1) 579 #define SHCI_C2_BLE_INIT_OPTIONS_DEVICE_NAME_RO (1<<2) 580 #define SHCI_C2_BLE_INIT_OPTIONS_DEVICE_NAME_RW (0<<2) 582 #define SHCI_C2_BLE_INIT_OPTIONS_POWER_CLASS_1 (1<<7) 583 #define SHCI_C2_BLE_INIT_OPTIONS_POWER_CLASS_2_3 (0<<7) 586 #define SHCI_OPCODE_C2_THREAD_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_THREAD_INIT) 590 #define SHCI_OPCODE_C2_DEBUG_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_DEBUG_INIT) 592 typedef PACKED_STRUCT
594 uint8_t thread_config;
596 uint8_t mac_802_15_4_config;
597 uint8_t zigbee_config;
600 typedef PACKED_STRUCT
604 } SHCI_C2_DEBUG_GeneralConfig_t;
606 typedef PACKED_STRUCT{
607 uint8_t *pGpioConfig;
608 uint8_t *pTracesConfig;
609 uint8_t *pGeneralConfig;
610 uint8_t GpioConfigSize;
611 uint8_t TracesConfigSize;
612 uint8_t GeneralConfigSize;
613 } SHCI_C2_DEBUG_init_Cmd_Param_t;
615 typedef PACKED_STRUCT{
617 SHCI_C2_DEBUG_init_Cmd_Param_t
Param;
618 } SHCI_C2_DEBUG_Init_Cmd_Packet_t;
621 #define SHCI_OPCODE_C2_FLASH_ERASE_ACTIVITY (( SHCI_OGF << 10) + SHCI_OCF_C2_FLASH_ERASE_ACTIVITY) 625 ERASE_ACTIVITY_OFF = 0x00,
626 ERASE_ACTIVITY_ON = 0x01,
631 #define SHCI_OPCODE_C2_CONCURRENT_SET_MODE (( SHCI_OGF << 10) + SHCI_OCF_C2_CONCURRENT_SET_MODE) 642 #define SHCI_OPCODE_C2_CONCURRENT_GET_NEXT_BLE_EVT_TIME (( SHCI_OGF << 10) + SHCI_OCF_C2_CONCURRENT_GET_NEXT_BLE_EVT_TIME) 644 typedef PACKED_STRUCT
646 uint32_t relative_time;
650 #define SHCI_OPCODE_C2_CONCURRENT_ENABLE_NEXT_802154_EVT_NOTIFICATION (( SHCI_OGF << 10) + SHCI_OCF_C2_CONCURRENT_ENABLE_NEXT_802154_EVT_NOTIFICATION) 654 #define SHCI_OPCODE_C2_FLASH_STORE_DATA (( SHCI_OGF << 10) + SHCI_OCF_C2_FLASH_STORE_DATA) 655 #define SHCI_OPCODE_C2_FLASH_ERASE_DATA (( SHCI_OGF << 10) + SHCI_OCF_C2_FLASH_ERASE_DATA) 665 #define SHCI_OPCODE_C2_RADIO_ALLOW_LOW_POWER (( SHCI_OGF << 10) + SHCI_OCF_C2_RADIO_ALLOW_LOW_POWER) 667 #define SHCI_OPCODE_C2_MAC_802_15_4_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_MAC_802_15_4_INIT) 669 #define SHCI_OPCODE_C2_REINIT (( SHCI_OGF << 10) + SHCI_OCF_C2_REINIT) 671 #define SHCI_OPCODE_C2_ZIGBEE_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_ZIGBEE_INIT) 673 #define SHCI_OPCODE_C2_LLD_TESTS_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_LLD_TESTS_INIT) 675 #define SHCI_OPCODE_C2_BLE_LLD_INIT (( SHCI_OGF << 10) + SHCI_OCF_C2_BLE_LLD_INIT) 677 #define SHCI_OPCODE_C2_EXTPA_CONFIG (( SHCI_OGF << 10) + SHCI_OCF_C2_EXTPA_CONFIG) 691 typedef PACKED_STRUCT{
693 uint16_t gpio_pin_number;
694 uint8_t gpio_polarity;
696 } SHCI_C2_EXTPA_CONFIG_Cmd_Param_t;
700 #define SHCI_OPCODE_C2_SET_FLASH_ACTIVITY_CONTROL (( SHCI_OGF << 10) + SHCI_OCF_C2_SET_FLASH_ACTIVITY_CONTROL) 704 FLASH_ACTIVITY_CONTROL_PES,
705 FLASH_ACTIVITY_CONTROL_SEM7,
710 #define SHCI_OPCODE_C2_CONFIG (( SHCI_OGF << 10) + SHCI_OCF_C2_CONFIG) 712 typedef PACKED_STRUCT{
713 uint8_t PayloadCmdSize;
717 uint32_t BleNvmRamAddress;
718 uint32_t ThreadNvmRamAddress;
721 #define SHCI_OPCODE_C2_802_15_4_DEINIT (( SHCI_OGF << 10) + SHCI_OCF_C2_802_15_4_DEINIT) 727 #define SHCI_C2_CONFIG_PAYLOAD_CMD_SIZE (sizeof(SHCI_C2_CONFIG_Cmd_Param_t) - 1) 734 #define SHCI_C2_CONFIG_CONFIG1_BIT0_BLE_NVM_DATA_TO_INTERNAL_FLASH (0<<0) 735 #define SHCI_C2_CONFIG_CONFIG1_BIT0_BLE_NVM_DATA_TO_SRAM (1<<0) 736 #define SHCI_C2_CONFIG_CONFIG1_BIT1_THREAD_NVM_DATA_TO_INTERNAL_FLASH (0<<1) 737 #define SHCI_C2_CONFIG_CONFIG1_BIT1_THREAD_NVM_DATA_TO_SRAM (1<<1) 743 #define SHCI_C2_CONFIG_EVTMASK1_BIT0_ERROR_NOTIF_ENABLE (1<<0) 744 #define SHCI_C2_CONFIG_EVTMASK1_BIT1_BLE_NVM_RAM_UPDATE_ENABLE (1<<1) 745 #define SHCI_C2_CONFIG_EVTMASK1_BIT2_THREAD_NVM_RAM_UPDATE_ENABLE (1<<2) 746 #define SHCI_C2_CONFIG_EVTMASK1_BIT3_NVM_START_WRITE_ENABLE (1<<3) 747 #define SHCI_C2_CONFIG_EVTMASK1_BIT4_NVM_END_WRITE_ENABLE (1<<4) 748 #define SHCI_C2_CONFIG_EVTMASK1_BIT5_NVM_START_ERASE_ENABLE (1<<5) 749 #define SHCI_C2_CONFIG_EVTMASK1_BIT6_NVM_END_ERASE_ENABLE (1<<6) 756 #define BLE_NVM_SRAM_SIZE (507) 763 #define THREAD_NVM_SRAM_SIZE (1016) 769 #define FUS_DEVICE_INFO_TABLE_VALIDITY_KEYWORD (0xA94656B9) 791 #define INFO_VERSION_MAJOR_OFFSET 24 792 #define INFO_VERSION_MAJOR_MASK 0xff000000 793 #define INFO_VERSION_MINOR_OFFSET 16 794 #define INFO_VERSION_MINOR_MASK 0x00ff0000 795 #define INFO_VERSION_SUB_OFFSET 8 796 #define INFO_VERSION_SUB_MASK 0x0000ff00 797 #define INFO_VERSION_BRANCH_OFFSET 4 798 #define INFO_VERSION_BRANCH_MASK 0x0000000f0 799 #define INFO_VERSION_TYPE_OFFSET 0 800 #define INFO_VERSION_TYPE_MASK 0x00000000f 802 #define INFO_VERSION_TYPE_RELEASE 1 805 #define INFO_SIZE_SRAM2B_OFFSET 24 806 #define INFO_SIZE_SRAM2B_MASK 0xff000000 807 #define INFO_SIZE_SRAM2A_OFFSET 16 808 #define INFO_SIZE_SRAM2A_MASK 0x00ff0000 809 #define INFO_SIZE_SRAM1_OFFSET 8 810 #define INFO_SIZE_SRAM1_MASK 0x0000ff00 811 #define INFO_SIZE_FLASH_OFFSET 0 812 #define INFO_SIZE_FLASH_MASK 0x000000ff 815 #define INFO_STACK_TYPE_OFFSET 0 816 #define INFO_STACK_TYPE_MASK 0x000000ff 817 #define INFO_STACK_TYPE_NONE 0 819 #define INFO_STACK_TYPE_BLE_FULL 0x01 820 #define INFO_STACK_TYPE_BLE_HCI 0x02 821 #define INFO_STACK_TYPE_BLE_LIGHT 0x03 822 #define INFO_STACK_TYPE_BLE_BEACON 0x04 823 #define INFO_STACK_TYPE_THREAD_FTD 0x10 824 #define INFO_STACK_TYPE_THREAD_MTD 0x11 825 #define INFO_STACK_TYPE_ZIGBEE_FFD 0x30 826 #define INFO_STACK_TYPE_ZIGBEE_RFD 0x31 827 #define INFO_STACK_TYPE_MAC 0x40 828 #define INFO_STACK_TYPE_BLE_THREAD_FTD_STATIC 0x50 829 #define INFO_STACK_TYPE_BLE_THREAD_FTD_DYAMIC 0x51 830 #define INFO_STACK_TYPE_802154_LLD_TESTS 0x60 831 #define INFO_STACK_TYPE_802154_PHY_VALID 0x61 832 #define INFO_STACK_TYPE_BLE_PHY_VALID 0x62 833 #define INFO_STACK_TYPE_BLE_LLD_TESTS 0x63 834 #define INFO_STACK_TYPE_BLE_RLV 0x64 835 #define INFO_STACK_TYPE_802154_RLV 0x65 836 #define INFO_STACK_TYPE_BLE_ZIGBEE_FFD_STATIC 0x70 837 #define INFO_STACK_TYPE_BLE_ZIGBEE_RFD_STATIC 0x71 838 #define INFO_STACK_TYPE_BLE_ZIGBEE_FFD_DYNAMIC 0x78 839 #define INFO_STACK_TYPE_BLE_ZIGBEE_RFD_DYNAMIC 0x79 840 #define INFO_STACK_TYPE_RLV 0x80 841 #define INFO_STACK_TYPE_BLE_MAC_STATIC 0x90 848 uint8_t VersionMinor;
850 uint8_t VersionBranch;
851 uint8_t VersionReleaseType;
852 uint8_t MemorySizeSram2B;
853 uint8_t MemorySizeSram2A;
854 uint8_t MemorySizeSram1;
855 uint8_t MemorySizeFlash;
861 uint8_t FusVersionMinor;
862 uint8_t FusVersionSub;
863 uint8_t FusMemorySizeSram2B;
864 uint8_t FusMemorySizeSram2A;
865 uint8_t FusMemorySizeFlash;
999 SHCI_CmdStatus_t
SHCI_C2_BLE_Init( SHCI_C2_Ble_Init_Cmd_Packet_t *pCmdPacket );
1165 SHCI_CmdStatus_t
SHCI_C2_ExtpaConfig(uint32_t gpio_port, uint16_t gpio_pin_number, uint8_t gpio_polarity, uint8_t gpio_status);
uint8_t VersionMajor
Wireless Info.
SHCI_CmdStatus_t SHCI_C2_FUS_UnloadUsrKey(uint8_t key_index)
SHCI_C2_FUS_UnloadUsrKey.
SHCI_C2_Ble_Init_Cmd_Param_t Param
Does not need to be initialized by the user.
SHCI_CmdStatus_t SHCI_C2_RADIO_AllowLowPower(SHCI_C2_FLASH_Ip_t Ip, uint8_t FlagRadioLowPowerOn)
SHCI_C2_RADIO_AllowLowPower.
SHCI_CmdStatus_t SHCI_C2_DEBUG_Init(SHCI_C2_DEBUG_Init_Cmd_Packet_t *pCmdPacket)
SHCI_C2_DEBUG_Init.
SHCI_CmdStatus_t SHCI_C2_BLE_Init(SHCI_C2_Ble_Init_Cmd_Packet_t *pCmdPacket)
SHCI_C2_BLE_Init.
SHCI_OCF_t
THE ORDER SHALL NOT BE CHANGED TO GUARANTEE COMPATIBILITY WITH THE CPU2 DEFINITION.
uint8_t HwVersion
HwVersion Reserved for future use - shall be set to 0.
SHCI_CmdStatus_t SHCI_C2_FUS_LoadUsrKey(uint8_t key_index)
SHCI_C2_FUS_LoadUsrKey.
__packed struct @6 SHCI_C2_ThreadNvmRamUpdate_Evt_t
SHCI_SUB_EVT_THREAD_NVM_RAM_UPDATE This notifies the CPU1 which part of the OT NVM RAM has been updat...
uint32_t BleBufferSize
NOT USED - shall be set to 0.
SHCI_CmdStatus_t SHCI_C2_802_15_4_DeInit(void)
SHCI_C2_802_15_4_DeInit.
SHCI_CmdStatus_t SHCI_C2_SetFlashActivityControl(SHCI_C2_SET_FLASH_ACTIVITY_CONTROL_Source_t Source)
SHCI_C2_SetFlashActivityControl.
SHCI_CmdStatus_t SHCI_C2_Config(SHCI_C2_CONFIG_Cmd_Param_t *pCmdPacket)
SHCI_C2_Config.
uint8_t max_coc_initiator_nbr
Maximum number of connection-oriented channels in initiator mode.
__packed struct @5 SHCI_C2_BleNvmRamUpdate_Evt_t
SHCI_SUB_EVT_BLE_NVM_RAM_UPDATE This notifies the CPU1 which part of the BLE NVM RAM has been updated...
__packed struct @25 SHCI_C2_CONFIG_Cmd_Param_t
Command parameters.
__packed struct @9 SHCI_Header_t
SHCI_SUB_EVT_NVM_END_ERASE This notifies the CPU1 that the CPU2 has erased all expected flash sectors...
uint8_t SHCI_C2_FUS_GetState(SHCI_FUS_GetState_ErrorCode_t *p_rsp)
SHCI_C2_FUS_GetState.
SHCI_CmdStatus_t SHCI_C2_LLDTESTS_Init(uint8_t param_size, uint8_t *p_param)
SHCI_C2_LLDTESTS_Init.
uint8_t ViterbiEnable
ViterbiEnable Viterbi implementation in BLE LL reception.
uint32_t MaxConnEventLength
MaxConnEventLength This parameter determines the maximum duration of a slave connection event...
SHCI_CmdStatus_t SHCI_C2_ExtpaConfig(uint32_t gpio_port, uint16_t gpio_pin_number, uint8_t gpio_polarity, uint8_t gpio_status)
SHCI_C2_ExtpaConfig.
SHCI_CmdStatus_t SHCI_C2_THREAD_Init(void)
SHCI_C2_THREAD_Init.
uint8_t ExtendedPacketLengthEnable
ExtendedPacketLengthEnable Disable/enable the extended packet length BLE 5.0 feature.
uint8_t NumOfLinks
NumOfLinks Maximum number of BLE links supported.
SHCI_CmdStatus_t SHCI_C2_FLASH_StoreData(SHCI_C2_FLASH_Ip_t Ip)
SHCI_C2_FLASH_StoreData.
uint16_t HsStartupTime
HsStartupTime Startup time of the high speed (16 or 32 MHz) crystal oscillator in units of 625/256 µs...
SHCI_C2_CONCURRENT_Mode_Param_t
command parameters
__packed struct @17 SHCI_C2_DEBUG_TracesConfig_t
Command parameters.
__packed struct @15 SHCI_C2_Ble_Init_Cmd_Param_t
THE ORDER SHALL NOT BE CHANGED.
SHCI_CmdStatus_t SHCI_C2_CONCURRENT_EnableNext_802154_EvtNotification(void)
SHCI_C2_CONCURRENT_EnableNext_802154_EvtNotification.
SHCI_CmdStatus_t SHCI_C2_FUS_StoreUsrKey(SHCI_C2_FUS_StoreUsrKey_Cmd_Param_t *pParam, uint8_t *p_key_index)
SHCI_C2_FUS_StoreUsrKey.
SHCI_CmdStatus_t SHCI_C2_MAC_802_15_4_Init(void)
SHCI_C2_MAC_802_15_4_Init.
int8_t max_tx_power
Maximum transmit power in dBm supported by the Controller.
uint16_t NumAttrRecord
NumAttrRecord Maximum number of attribute records related to all the required characteristics (exclud...
SHCI_CmdStatus_t SHCI_C2_FUS_FwDelete(void)
SHCI_C2_FUS_FwDelete.
SHCI_C2_SET_FLASH_ACTIVITY_CONTROL_Source_t
Command parameters.
SHCI_CmdStatus_t SHCI_C2_FUS_StartWs(void)
SHCI_C2_FUS_StartWs.
uint8_t FusVersionMajor
Fus Info.
uint32_t MetaData[3]
MetaData holds : 2*32bits for chaining list 1*32bits with BLE header (type + Opcode + Length) ...
SHCI_C2_FLASH_Ip_t
command parameters
int8_t min_tx_power
Minimum transmit power in dBm supported by the Controller.
uint16_t AttrValueArrSize
AttrValueArrSize NOTE: This parameter is ignored by the CPU2 when the parameter "Options" is set to "...
SHCI_CmdStatus_t SHCI_C2_FLASH_EraseData(SHCI_C2_FLASH_Ip_t Ip)
SHCI_C2_FLASH_EraseData.
SHCI_CmdStatus_t SHCI_GetWirelessFwInfo(WirelessFwInfo_t *pWirelessInfo)
SHCI_GetWirelessFwInfo.
uint8_t * pBleBufferAddress
NOT USED - shall be set to 0.
SHCI_CmdStatus_t SHCI_C2_FUS_FwUpgrade(uint32_t fw_src_add, uint32_t fw_dest_add)
SHCI_C2_FUS_FwUpgrade.
uint8_t MasterSca
MasterSca The sleep clock accuracy handled in master mode.
uint16_t AttMtu
AttMtu NOTE: This parameter is ignored by the CPU2 when the parameter "Options" is set to "LL_only" (...
uint16_t SlaveSca
SlaveSca The sleep clock accuracy (ppm value) that used in BLE connected slave mode to calculate the ...
SHCI_CmdStatus_t SHCI_C2_FUS_ActivateAntiRollback(void)
SHCI_C2_FUS_ActivateAntiRollback.
uint8_t PrWriteListSize
PrWriteListSize NOTE: This parameter is ignored by the CPU2 when the parameter "Options" is set to "L...
SHCI_CmdStatus_t SHCI_C2_CONCURRENT_SetMode(SHCI_C2_CONCURRENT_Mode_Param_t Mode)
SHCI_C2_CONCURRENT_SetMode.
SHCI_EraseActivity_t
Command parameters.
SHCI_CmdStatus_t SHCI_C2_CONCURRENT_GetNextBleEvtTime(SHCI_C2_CONCURRENT_GetNextBleEvtTime_Param_t *pParam)
SHCI_C2_CONCURRENT_GetNextBleEvtTime.
uint8_t MblockCount
MblockCount NOTE: This parameter is overwritten by the CPU2 with an hardcoded optimal value when the ...
SHCI_CmdStatus_t SHCI_C2_BLE_LLD_Init(uint8_t param_size, uint8_t *p_param)
SHCI_C2_BLE_LLD_Init.
SHCI_FUS_GetState_ErrorCode_t
No command parameters.
SHCI_CmdStatus_t SHCI_C2_Reinit(void)
SHCI_C2_Reinit.
SHCI_CmdStatus_t SHCI_C2_FUS_LockAuthKey(void)
SHCI_C2_FUS_LockAuthKey.
uint16_t NumAttrServ
NumAttrServ Defines the maximum number of services that can be stored in the GATT database...
uint8_t Options
Options flags.
SHCI_CmdStatus_t SHCI_C2_FUS_UpdateAuthKey(SHCI_C2_FUS_UpdateAuthKey_Cmd_Param_t *pParam)
SHCI_C2_FUS_UpdateAuthKey.
SHCI_CmdStatus_t SHCI_C2_ZIGBEE_Init(void)
SHCI_C2_ZIGBEE_Init.
__packed struct @3 SHCI_C2_Ready_Evt_t
SHCI_SUB_EVT_CODE_READY This notifies the CPU1 that the CPU2 is now ready to receive commands It repo...
SHCI_CmdStatus_t SHCI_C2_FUS_LockUsrKey(uint8_t key_index)
SHCI_C2_FUS_LockUsrKey.
__packed struct @7 SHCI_C2_NvmStartWrite_Evt_t
SHCI_SUB_EVT_NVM_START_WRITE This notifies the CPU1 that the CPU2 has started a write procedure in Fl...
__packed struct @4 SHCI_C2_ErrorNotif_Evt_t
SHCI_SUB_EVT_ERROR_NOTIF This reports to the CPU1 some error form the CPU2.
SHCI_SUB_EVT_CODE_t
THE ORDER SHALL NOT BE CHANGED TO GUARANTEE COMPATIBILITY WITH THE CPU1 DEFINITION.
SHCI_CmdStatus_t SHCI_C2_FLASH_EraseActivity(SHCI_EraseActivity_t erase_activity)
SHCI_C2_FLASH_EraseActivity.
__packed struct @21 SHCI_C2_CONCURRENT_GetNextBleEvtTime_Param_t
command parameters
uint8_t LsSource
LsSource Source for the 32 kHz slow speed clock.
__packed struct @8 SHCI_C2_NvmStartErase_Evt_t
SHCI_SUB_EVT_NVM_END_WRITE This notifies the CPU1 that the CPU2 has written all expected data in Flas...