Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: azure_umqtt_c iothub_mqtt_transport mbed-rtos mbed wolfSSL Socket lwip-eth lwip-sys lwip
tickcounter.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef TICKCOUNTER_H 00005 #define TICKCOUNTER_H 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #include <cstdint> 00010 #else 00011 #include <stdint.h> 00012 #endif /* __cplusplus */ 00013 00014 #include "azure_c_shared_utility/umock_c_prod.h" 00015 00016 typedef struct TICK_COUNTER_INSTANCE_TAG* TICK_COUNTER_HANDLE; 00017 00018 MOCKABLE_FUNCTION(, TICK_COUNTER_HANDLE, tickcounter_create); 00019 MOCKABLE_FUNCTION(, void, tickcounter_destroy, TICK_COUNTER_HANDLE, tick_counter); 00020 MOCKABLE_FUNCTION(, int, tickcounter_get_current_ms, TICK_COUNTER_HANDLE, tick_counter, uint64_t*, current_ms); 00021 00022 #ifdef __cplusplus 00023 } 00024 #endif /* __cplusplus */ 00025 00026 #endif /* TICKCOUNTER_H */
Generated on Wed Jul 13 2022 07:19:04 by
1.7.2