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