Mistake on this page?
Report an issue in GitHub or email us
lctr_int_slave_phy.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief Internal link layer controller PHY features (slave) interface file.
6  *
7  * Copyright (c) 2016-2017 ARM Ltd. All Rights Reserved.
8  *
9  * Copyright (c) 2019 Packetcraft, Inc.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 /*************************************************************************************************/
24 
25 #ifndef LCTR_INT_PHY_SLAVE_H
26 #define LCTR_INT_PHY_SLAVE_H
27 
28 #include "lctr_int.h"
29 #include "lctr_int_conn.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /**************************************************************************************************
36  Function Declarations
37 **************************************************************************************************/
38 
39 /* State machine */
40 bool_t lctrSlvLlcpExecutePhyUpdateSm(lctrConnCtx_t *pCtx, uint8_t event);
41 
42 /* Action routines */
43 void lctrStoreHostPhyUpdate(lctrConnCtx_t *pCtx);
44 void lctrStorePeerPhyReq(lctrConnCtx_t *pCtx);
45 void lctrStorePeerPhyUpdateInd(lctrConnCtx_t *pCtx);
46 
47 void lctrSendPhyReqPdu(lctrConnCtx_t *pCtx, uint8_t txPhys, uint8_t rxPhys);
48 void lctrSendPhyRspPdu(lctrConnCtx_t *pCtx, uint8_t txPhys, uint8_t rxPhys);
49 void lctrSendPhyUpdateIndPdu(lctrConnCtx_t *pCtx, uint8_t txPhys, uint8_t rxPhys);
50 
51 void lctrNotifyHostPhyUpdateInd(lctrConnCtx_t *pCtx, uint8_t status);
52 
53 #ifdef __cplusplus
54 };
55 #endif
56 
57 #endif /* LCTR_INT_PHY_SLAVE_H */
Connection context.
Internal link layer controller connection interface file.
Internal link layer controller interface file.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.