mFrame
載入中...
搜尋中...
無符合項目
gpio/Count.h
1
7#ifndef CHIP_DF273E13_4A84_4B0C_9B5F_CB8D46F4DD90
8#define CHIP_DF273E13_4A84_4B0C_9B5F_CB8D46F4DD90
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "mframe.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace chip::gpio {
23 enum struct Count : unsigned int;
24
25 constexpr unsigned int operator+(Count e) {
26 return static_cast<unsigned int>(e);
27 }
28} // namespace chip::gpio
29
30/* ***************************************************************************************
31 * Class/Interface/Struct/Enum
32 */
33enum struct chip::gpio::Count : unsigned int {
39 PDR = 32U,
40
46 ICR = 32U,
47
53 ISFR = 1U
54};
55
56/* ***************************************************************************************
57 * End of file
58 */
59
60#endif /* CHIP_DF273E13_4A84_4B0C_9B5F_CB8D46F4DD90 */
Definition gpio/Count.h:22
Count
Definition gpio/Count.h:33
@ ICR
ICR - GPIO_ICR_COUNT.
@ ISFR
ISFR - GPIO_ISFR_COUNT.
@ PDR
PDR - GPIO_PDR_COUNT.