Nol.A SDK Library
24.11.0
For IoT System Software Development
|
Public Member Functions | |
nRF5xSPI (int8_t pinMosi, int8_t pinMiso, int8_t pinSck, void *addr=nullptr) | |
void | begin (uint32_t frequency, BitOrder_t order, Mode_t mode) |
SPI 연결을 시작합니다. | |
void | end () |
SPI 연결을 종료합니다. | |
uint8_t | transfer (uint8_t val) |
데이터를 전송합니다. More... | |
Public Member Functions inherited from SPI | |
int | getCPOL () |
int | getCPHA () |
Additional Inherited Members | |
Public Types inherited from SPI | |
enum | BitOrder_t { MSBFIRST = 0 , LSBFIRST = 1 } |
enum | Mode_t { MODE0 = 0 , MODE1 = 1 , MODE2 = 2 , MODE3 = 3 } |
|
virtual |