summaryrefslogtreecommitdiff
path: root/utility/low_power/tx_low_power.h
diff options
context:
space:
mode:
Diffstat (limited to 'utility/low_power/tx_low_power.h')
-rw-r--r--utility/low_power/tx_low_power.h57
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