cryptnox-sdk-cpp
1.0.0
Platform-independent C++ core SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
CW_Platform.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: LGPL-3.0-or-later
3
* Copyright (c) 2026 Cryptnox SA
4
*/
5
16
17
#ifndef CW_PLATFORM_H
18
#define CW_PLATFORM_H
19
20
/******************************************************************
21
* 1. Included files
22
******************************************************************/
23
24
#include "
platform_compat.h
"
25
26
/******************************************************************
27
* 2. Class declaration
28
******************************************************************/
29
39
class
CW_Platform
{
40
public
:
46
virtual
void
sleep_ms
(uint32_t ms) = 0;
47
48
virtual
~CW_Platform
() {}
49
};
50
51
#endif
/* CW_PLATFORM_H */
CW_Platform
Abstract interface for platform-specific operations used by the SDK.
Definition
CW_Platform.h:39
CW_Platform::sleep_ms
virtual void sleep_ms(uint32_t ms)=0
Block for at least ms milliseconds.
CW_Platform::~CW_Platform
virtual ~CW_Platform()
Definition
CW_Platform.h:48
platform_compat.h
Arduino compatibility shims for non-Arduino (plain C++) builds.
CW_Platform.h
Generated by
1.15.0