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
*/
22
namespace
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
*/
33
enum 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 */
chip::gpio
Definition
gpio/Count.h:22
chip::gpio::PinDirection
PinDirection
Definition
PinDirection.h:33
chip::gpio::PinDirection::DIGITAL_INPUT
@ DIGITAL_INPUT
chip::gpio::PinDirection::DIGITAL_OUTPUT
@ DIGITAL_OUTPUT
C:
Workspaces
mframe-doxygen
souurce
nxp
mcxa153
chip
src
gpio
PinDirection.h
產生者:
1.11.0