mFrame
載入中...
搜尋中...
無符合項目
OpenDrain.h
1
7#ifndef MCXA153_881AD23D_9071_49A3_8059_6299D095177A
8#define MCXA153_881AD23D_9071_49A3_8059_6299D095177A
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace mcxa153::chip::port {
23 enum struct OpenDrain : bool;
24
36 constexpr bool operator+(OpenDrain e) {
37 return static_cast<bool>(e);
38 }
39} // namespace mcxa153::chip::port
40
41/* ***************************************************************************************
42 * Class/Interface/Struct/Enum
43 */
44
102 DISABLE = 0U,
103
149 ENABLE = 1U
150};
151
152/* ***************************************************************************************
153 * End of file
154 */
155
156#endif /* MCXA153_881AD23D_9071_49A3_8059_6299D095177A */
Definition Config.h:36
@ ENABLE
Digital Input Buffer Enabled.
@ DISABLE
Digital Input Buffer Disabled.
OpenDrain
GPIO Pin Open Drain Output Configuration.
Definition OpenDrain.h:72