mFrame
載入中...
搜尋中...
無符合項目
PinDirection.h
1
7
#ifndef MCXA153_0B99627C_DDE0_4792_A245_E121DF7C524F
8
#define MCXA153_0B99627C_DDE0_4792_A245_E121DF7C524F
9
10
/* ***************************************************************************************
11
* Include
12
*/
13
#include "mframe.h"
14
15
//----------------------------------------------------------------------------------------
16
17
//----------------------------------------------------------------------------------------
18
19
/* ***************************************************************************************
20
* Namespace
21
*/
22
namespace
mcxa153::chip::gpio
{
28
enum struct
PinDirection
:
unsigned
char;
29
38
constexpr
unsigned
char
operator+(
PinDirection
e) {
39
return
static_cast<
unsigned
char
>
(e);
40
}
41
}
// namespace mcxa153::chip::gpio
42
43
/* ***************************************************************************************
44
* Class/Interface/Struct/Enum
45
*/
46
55
enum struct
mcxa153::chip::gpio::PinDirection
:
unsigned
char
{
56
DIGITAL_INPUT
= 0U,
57
DIGITAL_OUTPUT
= 1U
58
};
59
60
/* ***************************************************************************************
61
* End of file
62
*/
63
64
#endif
/* MCXA153_0B99627C_DDE0_4792_A245_E121DF7C524F */
mcxa153::chip::gpio
Definition
gpio/Count.h:22
mcxa153::chip::gpio::PinDirection
PinDirection
GPIO 引腳方向枚舉
Definition
PinDirection.h:55
mcxa153::chip::gpio::PinDirection::DIGITAL_INPUT
@ DIGITAL_INPUT
mcxa153::chip::gpio::PinDirection::DIGITAL_OUTPUT
@ DIGITAL_OUTPUT
src
mcxa153
src
mcxa153
chip
gpio
PinDirection.h
產生者:
1.11.0