cryptnox-sdk-arduino
1.0.0
Arduino library for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
ArduinoPlatform.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
19
20
#ifndef ARDUINOPLATFORM_H
21
#define ARDUINOPLATFORM_H
22
23
#include <Arduino.h>
24
#include "
cryptnox-sdk-cpp/CW_Platform.h
"
25
49
class
ArduinoPlatform
:
public
CW_Platform
{
50
public
:
51
ArduinoPlatform
() =
default
;
52
~ArduinoPlatform
()
override
=
default
;
53
54
ArduinoPlatform
(
const
ArduinoPlatform
&) =
delete
;
55
ArduinoPlatform
&
operator=
(
const
ArduinoPlatform
&) =
delete
;
56
62
void
sleep_ms
(uint32_t ms)
override
;
63
};
64
65
#endif
// ARDUINOPLATFORM_H
CW_Platform.h
Abstract platform interface for timing primitives.
ArduinoPlatform::operator=
ArduinoPlatform & operator=(const ArduinoPlatform &)=delete
ArduinoPlatform::ArduinoPlatform
ArduinoPlatform(const ArduinoPlatform &)=delete
ArduinoPlatform::ArduinoPlatform
ArduinoPlatform()=default
ArduinoPlatform::sleep_ms
void sleep_ms(uint32_t ms) override
Block for ms milliseconds via Arduino's delay().
Definition
ArduinoPlatform.cpp:16
ArduinoPlatform::~ArduinoPlatform
~ArduinoPlatform() override=default
CW_Platform
Abstract interface for platform-specific operations used by the SDK.
Definition
CW_Platform.h:39
src
ArduinoPlatform.h
Generated by
1.15.0