Azure SDK for Embedded C
1.0.0-preview.5
sdk
inc
azure
core
az_platform.h
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// SPDX-License-Identifier: MIT
3
15
#ifndef _az_PLATFORM_H
16
#define _az_PLATFORM_H
17
18
#include <
azure/core/az_result.h
>
19
20
#include <stdbool.h>
21
#include <stdint.h>
22
23
#include <azure/core/_az_cfg_prefix.h>
24
34
AZ_NODISCARD int64_t
az_platform_clock_msec
();
35
44
void
az_platform_sleep_msec
(int32_t milliseconds);
45
46
#include <azure/core/_az_cfg_suffix.h>
47
48
#endif // _az_PLATFORM_H
az_result.h
Definition of az_result and helper functions.
az_platform_clock_msec
AZ_NODISCARD int64_t az_platform_clock_msec()
Gets the platform clock in milliseconds.
az_platform_sleep_msec
void az_platform_sleep_msec(int32_t milliseconds)
Tells the platform to sleep for a given number of milliseconds.
Generated by
1.8.20