mFrame
載入中...
搜尋中...
無符合項目
OpenDrain.h
1
7#ifndef CHIP_881AD23D_9071_49A3_8059_6299D095177A
8#define CHIP_881AD23D_9071_49A3_8059_6299D095177A
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "mframe.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace chip::port {
23 enum struct OpenDrain : bool;
24
25 constexpr bool operator+(OpenDrain e) {
26 return static_cast<bool>(e);
27 }
28} // namespace chip::port
29
30/* ***************************************************************************************
31 * Class/Interface/Struct/Enum
32 */
33enum struct chip::port::OpenDrain : bool {
34 DISABLE = 0U,
35 ENABLE = 1U
36};
37
38/* ***************************************************************************************
39 * End of file
40 */
41
42#endif /* CHIP_881AD23D_9071_49A3_8059_6299D095177A */
Definition Config.h:36
OpenDrain
Definition OpenDrain.h:33