1 /** 2 ****************************************************************************** 3 * @file hw.h 4 * @author MCD Application Team 5 * @brief Hardware 6 ****************************************************************************** 7 * @attention 8 * 9 * <h2><center>© Copyright (c) 2019 STMicroelectronics. 10 * All rights reserved.</center></h2> 11 * 12 * This software component is licensed by ST under BSD 3-Clause license, 13 * the "License"; You may not use this file except in compliance with the 14 * License. You may obtain a copy of the License at: 15 * opensource.org/licenses/BSD-3-Clause 16 * 17 ****************************************************************************** 18 */ 19 20 21 /* Define to prevent recursive inclusion -------------------------------------*/ 22 #ifndef __HW_H 23 #define __HW_H 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 29 /* Includes ------------------------------------------------------------------*/ 30 31 /****************************************************************************** 32 * HW IPCC 33 ******************************************************************************/ 34 void HW_IPCC_Enable( void ); 35 void HW_IPCC_Init( void ); 36 void HW_IPCC_Rx_Handler( void ); 37 void HW_IPCC_Tx_Handler( void ); 38 39 void HW_IPCC_BLE_Init( void ); 40 void HW_IPCC_BLE_SendCmd( void ); 41 void HW_IPCC_MM_SendFreeBuf( void (*cb)( void ) ); 42 void HW_IPCC_BLE_RxEvtNot( void ); 43 void HW_IPCC_BLE_SendAclData( void ); 44 void HW_IPCC_BLE_AclDataAckNot( void ); 45 46 void HW_IPCC_SYS_Init( void ); 47 void HW_IPCC_SYS_SendCmd( void ); 48 void HW_IPCC_SYS_CmdEvtNot( void ); 49 void HW_IPCC_SYS_EvtNot( void ); 50 51 void HW_IPCC_THREAD_Init( void ); 52 void HW_IPCC_OT_SendCmd( void ); 53 void HW_IPCC_CLI_SendCmd( void ); 54 void HW_IPCC_THREAD_SendAck( void ); 55 void HW_IPCC_OT_CmdEvtNot( void ); 56 void HW_IPCC_CLI_CmdEvtNot( void ); 57 void HW_IPCC_THREAD_EvtNot( void ); 58 void HW_IPCC_THREAD_CliSendAck( void ); 59 void HW_IPCC_THREAD_CliEvtNot( void ); 60 61 62 void HW_IPCC_LLDTESTS_Init( void ); 63 void HW_IPCC_LLDTESTS_SendCliCmd( void ); 64 void HW_IPCC_LLDTESTS_ReceiveCliRsp( void ); 65 void HW_IPCC_LLDTESTS_SendCliRspAck( void ); 66 void HW_IPCC_LLDTESTS_ReceiveM0Cmd( void ); 67 void HW_IPCC_LLDTESTS_SendM0CmdAck( void ); 68 69 70 void HW_IPCC_BLE_LLD_Init( void ); 71 void HW_IPCC_BLE_LLD_SendCliCmd( void ); 72 void HW_IPCC_BLE_LLD_ReceiveCliRsp( void ); 73 void HW_IPCC_BLE_LLD_SendCliRspAck( void ); 74 void HW_IPCC_BLE_LLD_ReceiveM0Cmd( void ); 75 void HW_IPCC_BLE_LLD_SendM0CmdAck( void ); 76 void HW_IPCC_BLE_LLD_SendCmd( void ); 77 void HW_IPCC_BLE_LLD_ReceiveRsp( void ); 78 void HW_IPCC_BLE_LLD_SendRspAck( void ); 79 80 81 void HW_IPCC_TRACES_Init( void ); 82 void HW_IPCC_TRACES_EvtNot( void ); 83 84 void HW_IPCC_MAC_802_15_4_Init( void ); 85 void HW_IPCC_MAC_802_15_4_SendCmd( void ); 86 void HW_IPCC_MAC_802_15_4_SendAck( void ); 87 void HW_IPCC_MAC_802_15_4_CmdEvtNot( void ); 88 void HW_IPCC_MAC_802_15_4_EvtNot( void ); 89 90 void HW_IPCC_ZIGBEE_Init( void ); 91 92 void HW_IPCC_ZIGBEE_SendM4RequestToM0(void); /* M4 Request to M0 */ 93 void HW_IPCC_ZIGBEE_RecvAppliAckFromM0(void); /* Request ACK from M0 */ 94 95 void HW_IPCC_ZIGBEE_RecvM0NotifyToM4(void); /* M0 Notify to M4 */ 96 void HW_IPCC_ZIGBEE_SendM4AckToM0Notify(void); /* Notify ACK from M4 */ 97 void HW_IPCC_ZIGBEE_RecvM0RequestToM4(void); /* M0 Request to M4 */ 98 void HW_IPCC_ZIGBEE_SendM4AckToM0Request(void); /* Request ACK from M4 */ 99 100 101 #ifdef __cplusplus 102 } 103 #endif 104 105 #endif /*__HW_H */ 106 107 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 108