Lazuli
clock_24.h
Go to the documentation of this file.
1 /*
2  * SPDX-License-Identifier: GPL-3.0-only
3  * This file is part of Lazuli.
4  */
5 
14 #ifndef LAZULI_CLOCK_24_H
15 #define LAZULI_CLOCK_24_H
16 
17 #include <stdint.h>
18 
19 #include <Lazuli/common.h>
20 
22 
26 typedef struct {
30 }Clock24;
31 
40 void
41 Lz_Clock24_Get(Clock24 * const userClock24);
42 
44 
45 #endif /* LAZULI_CLOCK_24_H */
#define _EXTERN_C_DECL_BEGIN
Open C++ header file declarations.
Definition: common.h:37
Represents the type used to hold the time.
Definition: clock_24.h:26
uint8_t hours
Hours.
Definition: clock_24.h:27
uint8_t seconds
Seconds.
Definition: clock_24.h:29
unsigned char uint8_t
Represents a unsigned integer type with width of exactly 8 bits.
Definition: stdint.h:89
Basic type definitions and useful macros.
#define _EXTERN_C_DECL_END
Close C++ header file declarations.
Definition: common.h:42
uint8_t minutes
Minutes.
Definition: clock_24.h:28
void Lz_Clock24_Get(Clock24 *const userClock24)
Get the time on a 24-Hour clock.
Definition: clock_24.c:146