CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
delay.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
6
7#ifndef CARDSIGHT_DELAY_H
8#define CARDSIGHT_DELAY_H
9
10#include <stdint.h>
11
20void msleep(uint32_t milliseconds);
21
27uint64_t ktime_get_ms(void);
28
29#endif /* CARDSIGHT_DELAY_H */
uint64_t ktime_get_ms(void)
Milliseconds since the scheduler started.
void msleep(uint32_t milliseconds)
Sleep for a number of milliseconds.