Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
utils.h
Go to the documentation of this file.
1/*
2 * Copyright 2021-present dogtopus
3 * SPDX-License-Identifier: MIT
4 */
5
11
12#ifndef __MUTEKI_UTILS_H__
13#define __MUTEKI_UTILS_H__
14
15#include "common.h"
16#include "draw/types/surface.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
36
44extern bool WarningBeep(void);
45
59extern void WriteComDebugMsg(char *format, ...) SYS_IS_PRINTF(1, 2);
60
61#ifdef __cplusplus
62} // extern "C"
63#endif
64
65#endif // __MUTEKI_UTILS_H__
Common include file for all muteki-shims headers.
#define SYS_IS_PRINTF(arg_index_str, arg_index_fmt)
Attribute for opting a function in for printf static checking.
Definition common.h:92
Surface type definitions.
struct lcd_surface_s lcd_surface_t
Descriptor of an LCD drawing surface or hardware framebuffer.
void WriteComDebugMsg(char *format,...) SYS_IS_PRINTF(1
Format and send a message to debug UART port.
bool WarningBeep(void)
Play a beep using the built in piezo speaker.
lcd_surface_t * GetActiveVRamAddress(void)
Get the descriptor of the currently active LCD surface.