Mistake on this page?
Report an issue in GitHub or email us
lctr_api_init_master.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file
4  *
5  * \brief Link layer controller initiating master 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 LCTR_API_INIT_MASTER_H
26 #define LCTR_API_INIT_MASTER_H
27 
28 #include "lctr_api.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /*!
35  * \addtogroup LL_LCTR_API_INIT_MST
36  * \{
37  */
38 
39 /**************************************************************************************************
40  Constants
41 **************************************************************************************************/
42 
43 /*! \brief Master initiate task messages for \a LCTR_DISP_INIT dispatcher. */
44 enum
45 {
46  /* Broadcast events */
47  LCTR_INIT_MSG_RESET = LCTR_MSG_RESET, /*!< Reset API message. */
48  /* Initiate events */
49  LCTR_INIT_MSG_INITIATE, /*!< Initiate API event. */
50  LCTR_INIT_MSG_INITIATE_CANCEL, /*!< Initiate cancel API event. */
51  LCTR_INIT_MSG_TERMINATE, /*!< Scan BOD terminated event. */
52  LCTR_INIT_MSG_TOTAL /*!< Total number of initiate events. */
53 };
54 
55 /**************************************************************************************************
56  Data Types
57 **************************************************************************************************/
58 
59 
60 /**************************************************************************************************
61  Function Declarations
62 **************************************************************************************************/
63 
64 /* Initialization */
65 void LctrMstInitInit(void);
66 void LctrMstInitDefaults(void);
67 
68 /* Utility */
69 bool_t LctrMstInitIsEnabled(void);
70 bool_t LctrMstInitIsPrivAddr(void);
71 
72 /*! \} */ /* LL_LCTR_API_INIT_MST */
73 
74 #ifdef __cplusplus
75 };
76 #endif
77 
78 #endif /* LCTR_API_INIT_MASTER_H */
Link layer controller 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.