![]() |
BlueNinja BSP
0.5
Cerevo BlueNinja(CDP-TZ01B) Board Support Packageリファレンスマニュアル
|
System library for Cerevo CDP-TZ01B. [詳解]
#include <stdint.h>#include <stdbool.h>#include "TZ10xx.h"#include "PMU_TZ10xx.h"#include "GPIO_TZ10xx.h"#include "TMR_TZ10xx.h"#include "TZ01_system.h"#include "utils.h"マクロ定義 | |
| #define | tz01_system_log(x) |
関数 | |
| bool | TZ01_system_tick_clear (void) |
| Clear tick timer. [詳解] | |
| bool | TZ01_system_tick_start (TZ01_SYSTEM_TICK_NO tim_no, uint32_t ms_timeout) |
| Start tick timer. [詳解] | |
| bool | TZ01_system_tick_stop (TZ01_SYSTEM_TICK_NO tim_no) |
| Stop tick timer. [詳解] | |
| bool | TZ01_system_tick_is_active (TZ01_SYSTEM_TICK_NO tim_no) |
| Get tick timer activity. [詳解] | |
| bool | TZ01_system_tick_check_timeout (TZ01_SYSTEM_TICK_NO tim_no) |
| Check tick timer timeout. [詳解] | |
| bool | TZ01_system_init (void) |
| Initialize system library. [詳解] | |
| TZ01_system_RUNEVT | TZ01_system_run (void) |
| Running system library. [詳解] | |
変数 | |
| TZ10XX_DRIVER_PMU | Driver_PMU |
| TZ10XX_DRIVER_GPIO | Driver_GPIO |
| TZ10XX_DRIVER_TMR | Driver_TMR0 |
System library for Cerevo CDP-TZ01B.
| #define tz01_system_log | ( | x | ) |
Includes
| bool TZ01_system_init | ( | void | ) |
Initialize system library.
System
DO
DI
| TZ01_system_RUNEVT TZ01_system_run | ( | void | ) |
Running system library.
| Event | that occurrd. |
| bool TZ01_system_tick_check_timeout | ( | TZ01_SYSTEM_TICK_NO | tim_no | ) |
Check tick timer timeout.
| tim_no | Tick timer number. |
| true | : Timeout. |
| false | Not timeout. |
| bool TZ01_system_tick_clear | ( | void | ) |
Clear tick timer.
Power switch control functions. Tick timer manage functions.
| bool TZ01_system_tick_is_active | ( | TZ01_SYSTEM_TICK_NO | tim_no | ) |
Get tick timer activity.
| [in] | tim_no | Tick timer number. |
| true | : Active |
| false | Deactive |
| bool TZ01_system_tick_start | ( | TZ01_SYSTEM_TICK_NO | tim_no, |
| uint32_t | ms_timeout | ||
| ) |
Start tick timer.
Start tick timer
| bool TZ01_system_tick_stop | ( | TZ01_SYSTEM_TICK_NO | tim_no | ) |
Stop tick timer.
| [in] | tim_no | Tick timer number. |
| true | : Success. |
| false | Failed. |