• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2022 Beken Corporation
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #pragma once
16 
17 #include <common/bk_err.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /**
24  * @brief AON RTC defines
25  * @defgroup bk_api_aon_rtc_defs macos
26  * @ingroup bk_api_aon_rtc
27  * @{
28  */
29 
30 typedef enum
31 {
32 	AON_RTC_ID_1 = 0,
33 #if (SOC_AON_RTC_UNIT_NUM > 1)
34 	AON_RTC_ID_2,
35 #endif
36 	AON_RTC_ID_MAX,
37 }aon_rtc_id_t;
38 
39 typedef uint8_t aon_rtc_unit_t; /**< aon rtc uint id */
40 
41 /**
42  * @}
43  */
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49