BlueNinja BSP  0.5
Cerevo BlueNinja(CDP-TZ01B) Board Support Packageリファレンスマニュアル
tz01_system_conf.h
[詳解]
1 
8 /*
9 Copyright 2015 Cerevo 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 #ifndef _TZ01_SYSTEM_CONF_H_
25 #define _TZ01_SYSTEM_CONF_H_
26 
28 /* @{ */
29 #define TZ01_SYSTEM_TICK_TMR_NO (0)
30 /* @} */
31 
33 /* @{ */
36 typedef enum {
37  /* SYSTEM DEFINITION TIMERS */
40  /* USER DEFINITION TIMERS */
43  /* TERMINATER */
46 /* @} */
47 
49 /* @{ */
50 #define TZ01_POW_MGR 1
51 #define TZ01_HARTBEAT 1
52 #define TZ01_SYSTEM_PWSW_PORT_LED (10)
53 #if TZ01_POW_MGR
54 #define TZ01_SYSTEM_PWSW_PORT_HLD (3)
55 #define TZ01_SYSTEM_PWSW_PORT_SW (1)
56 #define TZ01_SYSTEM_PWSW_PORT_UVD (4)
58 #define TZ01_SYSTEM_PW_HLD_DELAY (2000000)
59 #define TZ01_SYSTEM_PWSW_CHK_INTVAL (400)
60 #define TZ01_SYSTEM_PW_OFF_CNT (5)
61 #endif
62 /* @} */
63 
65 /* @{ */
66 #define TZ01_CONSOLE_ENABLE (1)
67 #if TZ01_CONSOLE_ENABLE
68  #define TZ01_CONSOLE_UART_CH (1)
69  #define TZ01_CONSOLE_BAUD (9600)
70 #endif
71 /* @} */
72 
73 #endif //_TZ01_SYSTEM_CONF_H_
TZ01_SYSTEM_TICK_NO
Definition: tz01_system_conf.h:36
Definition: tz01_system_conf.h:42
Definition: tz01_system_conf.h:44
Definition: tz01_system_conf.h:38
Definition: tz01_system_conf.h:39
Definition: tz01_system_conf.h:41