Lazuli
Data Structures | Functions
clock_24.h File Reference

24-Hour clock user interface. More...

#include <stdint.h>
#include <Lazuli/common.h>

Go to the source code of this file.

Data Structures

struct  Clock24
 Represents the type used to hold the time. More...
 

Functions

void Lz_Clock24_Get (Clock24 *const userClock24)
 Get the time on a 24-Hour clock. More...
 

Detailed Description

24-Hour clock user interface.

This file describes the user interface of the 24-Hour clock.

Definition in file clock_24.h.

Function Documentation

◆ Lz_Clock24_Get()

void Lz_Clock24_Get ( Clock24 *const  userClock24)

Get the time on a 24-Hour clock.

Parameters
userClock24A pointer to an allocated Clock24.
Warning
This function may spin if the kernel updates the time while this functions reads it.

Definition at line 146 of file clock_24.c.