|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | WeikaiComponentSPI |
| The WeikaiComponentSPI class stores the information to the WeiKai component connected through an SPI bus. More... | |
| class | WeikaiRegisterSPI |
| WeikaiRegisterSPI objects acts as proxies to access remote register through an SPI Bus. More... | |
Enumerations | |
| enum | RegType { REG = 0 , FIFO = 1 } |
| enum | CmdType { WRITE_CMD = 0 , READ_CMD = 1 } |
Functions | |
| ESPHOME_LOG_TAG (TAG, "weikai_spi") | |
| uint32_t | elapsed_ms (uint32_t &last_time) |
| measure the time elapsed between two calls | |
| const char * | p2s (uart::UARTParityOptions parity) |
| Converts the parity enum value to a C string. | |
| Enumerator | |
|---|---|
| WRITE_CMD | |
| READ_CMD | |
Definition at line 39 of file weikai_spi.cpp.
| Enumerator | |
|---|---|
| REG | |
| FIFO | |
Definition at line 38 of file weikai_spi.cpp.
measure the time elapsed between two calls
| last_time | time of the previous call |
Definition at line 15 of file weikai_spi.cpp.
| esphome::weikai_spi::ESPHOME_LOG_TAG | ( | TAG | , |
| "weikai_spi" | ) |
| const char * esphome::weikai_spi::p2s | ( | uart::UARTParityOptions | parity | ) |
Converts the parity enum value to a C string.
| parity | enum |
Definition at line 24 of file weikai_spi.cpp.