mFrame
載入中...
搜尋中...
無符合項目
SPI.h
1
7#ifndef HAL_EEE94920_8745_4610_9D84_D4EE0FE64D14
8#define HAL_EEE94920_8745_4610_9D84_D4EE0FE64D14
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../Base.h"
16
17//----------------------------------------------------------------------------------------
18#include "./../serial/SPIEvent.h"
19
20/* ***************************************************************************************
21 * Namespace
22 */
23namespace hal::serial {
24 struct SPI;
25} // namespace hal::serial
26
27/* ***************************************************************************************
28 * Class/Interface/Struct/Enum
29 */
30struct hal::serial::SPI : public hal::Base {
31 /* *************************************************************************************
32 * Method Get/Set
33 */
34
40 virtual void setClockPolarity(bool val) abstract;
41
47 virtual void setClockPhase(bool val) abstract;
48
54 virtual void setEvent(SPIEvent* event) abstract;
55};
56
57/* ***************************************************************************************
58 * End of file
59 */
60
61#endif /* HAL_EEE94920_8745_4610_9D84_D4EE0FE64D14 */
Definition IIC.h:25
[Interface]硬體抽象層,初始化共基類。
Definition Base.h:34
Definition SPIEvent.h:29
Definition SPI.h:30
virtual void setClockPolarity(bool val) override
Set the Clock Polarity object.
virtual void setClockPhase(bool val) override
Set the Clock Phase object.
virtual void setEvent(SPIEvent *event) override
Set the Event Transfer object.