Mistake on this page?
Report an issue in GitHub or email us
lmgr_api_iso.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief Link layer manager connection interface file.
6  *
7  * Copyright (c) 2013-2018 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 LMGR_API_ISO_H
26 #define LMGR_API_ISO_H
27 
28 #include "lmgr_api.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /*!
35  * \addtogroup LL_LMGR_API_ISO
36  * \{
37  */
38 
39 /**************************************************************************************************
40  Data Types
41 **************************************************************************************************/
42 
43 /*! \brief Slave role device parameter definition. */
44 typedef struct
45 {
46  uint8_t availTxBuf; /*!< Available number of transmit buffers. */
47  uint8_t availRxBuf; /*!< Available number of receive buffers. */
48 
49  uint16_t maxTxLen; /*!< Default maximum number of Data PDU bytes. */
50  uint16_t maxTxTime; /*!< Default maximum microseconds for a Data PDU. */
51 
52  wsfQueue_t rxDataQ; /*!< Receive Data PDU queue. */
53 
54  uint32_t dataPendMsk; /*!< Bitmask of connection handles with new pending data. */
55 
56  uint8_t allPhys; /*!< Default all PHYs. */
57  uint8_t txPhys; /*!< Default transmitter PHYs. */
58  uint8_t rxPhys; /*!< Default receiver PHYs. */
59 
61 
62 /**************************************************************************************************
63  Global Variables
64 **************************************************************************************************/
65 extern lmgrIsoCtrlBlk_t lmgrIsoCb;
66 
67 /**************************************************************************************************
68  Function Declarations
69 **************************************************************************************************/
70 
71 /* Initialization */
72 void LmgrIsoInit(void);
73 
74 /*! \} */ /* LMGR_API_ISO_H */
75 
76 #ifdef __cplusplus
77 };
78 #endif
79 
80 #endif /* LMGR_API_ISO_H */
uint16_t maxTxLen
Definition: lmgr_api_iso.h:49
uint8_t availTxBuf
Definition: lmgr_api_iso.h:46
wsfQueue_t rxDataQ
Definition: lmgr_api_iso.h:52
uint8_t availRxBuf
Definition: lmgr_api_iso.h:47
uint32_t dataPendMsk
Definition: lmgr_api_iso.h:54
Slave role device parameter definition.
Definition: lmgr_api_iso.h:44
Queue structure.
Definition: wsf_queue.h:46
uint16_t maxTxTime
Definition: lmgr_api_iso.h:50
Link layer manager common 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.