Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
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
19
extern
"C"
{
20
#endif
21
35
extern
lcd_surface_t
*
GetActiveVRamAddress
(
void
);
36
44
extern
bool
WarningBeep
(
void
);
45
59
extern
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.h
Common include file for all muteki-shims headers.
SYS_IS_PRINTF
#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.h
Surface type definitions.
lcd_surface_t
struct lcd_surface_s lcd_surface_t
Descriptor of an LCD drawing surface or hardware framebuffer.
WriteComDebugMsg
void WriteComDebugMsg(char *format,...) SYS_IS_PRINTF(1
Format and send a message to debug UART port.
WarningBeep
bool WarningBeep(void)
Play a beep using the built in piezo speaker.
GetActiveVRamAddress
lcd_surface_t * GetActiveVRamAddress(void)
Get the descriptor of the currently active LCD surface.
include
muteki
utils.h
Generated by
1.18.0