µGFX  2.9
version 2.9
gevent_options.h
Go to the documentation of this file.
1 /*
2  * This file is subject to the terms of the GFX License. If a copy of
3  * the license was not distributed with this file, you can obtain one at:
4  *
5  * http://ugfx.io/license.html
6  */
7 
8 /**
9  * @file src/gevent/gevent_options.h
10  * @brief GEVENT sub-system options header file.
11  *
12  * @addtogroup GEVENT
13  * @{
14  */
15 
16 #ifndef _GEVENT_OPTIONS_H
17 #define _GEVENT_OPTIONS_H
18 
19 /**
20  * @name GEVENT Functionality to be included
21  * @{
22  */
23  /**
24  * @brief Should routines assert() if they run out of resources.
25  * @details Defaults to GFXOFF.
26  * @details If GFXOFF the application must be prepared to handle these
27  * failures.
28  */
29  #ifndef GEVENT_ASSERT_NO_RESOURCE
30  #define GEVENT_ASSERT_NO_RESOURCE GFXOFF
31  #endif
32 /**
33  * @}
34  *
35  * @name GEVENT Optional Sizing Parameters
36  * @{
37  */
38  /**
39  * @brief Defines the maximum size of an event status variable.
40  * @details Defaults to 32 bytes
41  */
42  #ifndef GEVENT_MAXIMUM_SIZE
43  #define GEVENT_MAXIMUM_SIZE 32
44  #endif
45  /**
46  * @brief Defines the maximum Source/Listener pairs in the system.
47  * @details Defaults to 32
48  */
49  #ifndef GEVENT_MAX_SOURCE_LISTENERS
50  #define GEVENT_MAX_SOURCE_LISTENERS 32
51  #endif
52 /** @} */
53 
54 #endif /* _GEVENT_OPTIONS_H */
55 /** @} */