diff options
| author | Yuxin Zhou <[email protected]> | 2021-03-05 05:38:33 +0000 |
|---|---|---|
| committer | Yuxin Zhou <[email protected]> | 2021-03-05 05:38:33 +0000 |
| commit | 10a7932b9d8a9f6f36523cb2f6edf13aa8dee6be (patch) | |
| tree | 87461e5468fb0b4d1416e39fdbc51dceb5ffa2be /utility/low_power/tx_low_power.h | |
| parent | 32e3b3b25f4b17ff51ce8a6bad8d9eb32729a0f6 (diff) | |
Release 6.1.5v6.1.5_rel
Diffstat (limited to 'utility/low_power/tx_low_power.h')
| -rw-r--r-- | utility/low_power/tx_low_power.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/utility/low_power/tx_low_power.h b/utility/low_power/tx_low_power.h new file mode 100644 index 00000000..8d03faa0 --- /dev/null +++ b/utility/low_power/tx_low_power.h @@ -0,0 +1,57 @@ +/**************************************************************************/ +/* */ +/* Copyright (c) Microsoft Corporation. All rights reserved. */ +/* */ +/* This software is licensed under the Microsoft Software License */ +/* Terms for Microsoft Azure RTOS. Full text of the license can be */ +/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ +/* and in the root directory of this software. */ +/* */ +/**************************************************************************/ + + +/**************************************************************************/ +/**************************************************************************/ +/** */ +/** ThreadX Component */ +/** */ +/** Low Power Timer Management */ +/** */ +/**************************************************************************/ +/**************************************************************************/ + + +/**************************************************************************/ +/* */ +/* COMPONENT DEFINITION RELEASE */ +/* */ +/* tx_low_power.h PORTABLE C */ +/* 6.1.5 */ +/* AUTHOR */ +/* */ +/* William E. Lamie, Express Logic, Inc. */ +/* */ +/* DESCRIPTION */ +/* */ +/* This file defines prototypes for the low-power timer additions */ +/* required for sleep mode. */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ +/* 03-02-2021 William E. Lamie Initial Version 6.1.5 */ +/* */ +/**************************************************************************/ + +#ifndef TX_LOW_POWER_H +#define TX_LOW_POWER_H + +/* Declare low-power function prototypes. */ + +VOID tx_low_power_enter(VOID); +VOID tx_low_power_exit(VOID); +VOID tx_time_increment(ULONG time_increment); +ULONG tx_timer_get_next(ULONG *next_timer_tick_ptr); + +#endif |
