![]() |
BlueNinja BSP
0.5
Cerevo BlueNinja(CDP-TZ01B) Board Support Packageリファレンスマニュアル
|
System library for Cerevo CDP-TZ01B. [詳解]
データ構造 | |
| struct | TZ01_SYSTEM_TICK_INFO |
| Tick timer information. [詳解] | |
| struct | TZ01_SYSTEM_TICK |
| Tick timer. [詳解] | |
列挙型 | |
| enum | TZ01_system_RUNEVT { RUNEVT_NONE, RUNEVT_LO_VOLT, RUNEVT_POWOFF } |
関数 | |
| bool | TZ01_system_init (void) |
| Initialize system library. [詳解] | |
| TZ01_system_RUNEVT | TZ01_system_run (void) |
| Running system library. [詳解] | |
| 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. [詳解] | |
System library for Cerevo CDP-TZ01B.
| enum TZ01_system_RUNEVT |
| bool TZ01_system_init | ( | void | ) |
Initialize system library.
| true | : Success. |
| false | Failed. |
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.
| true | : Success. |
| false | Failed. |
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.
| [in] | tim_no | Tick timer number. |
| [in] | ms_timeout | Timeout(UNIT: ms) |
| true | : Success. |
| false | Failed. |
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. |