ESPHome 2025.5.0
Loading...
Searching...
No Matches
Channel registers for SPAGE=1

Variables

constexpr uint8_t esphome::weikai::WKREG_BRH = 0x04
 Baud rate configuration register: high byte - c0/c1 0100.
 
constexpr uint8_t esphome::weikai::WKREG_BRL = 0x05
 Baud rate configuration register: low byte - c0/c1 0101.
 
constexpr uint8_t esphome::weikai::WKREG_BRD = 0x06
 Baud rate configuration register decimal part - c0/c1 0110.
 
constexpr uint8_t esphome::weikai::WKREG_RFI = 0x07
 Receive FIFO Interrupt trigger configuration (not used) - c0/c1 0111.
 
constexpr uint8_t esphome::weikai::WKREG_TFI = 0x08
 Transmit FIFO interrupt trigger configuration (not used) - c0/c1 1000.
 

Detailed Description

Definition of the register linked to a particular channel when SPAGE=1

The channel registers are further splitted into two groups. This second group is defined when the Global register WKREG_SPAGE is 1

Variable Documentation

◆ WKREG_BRD

uint8_t esphome::weikai::WKREG_BRD = 0x06
constexpr

Baud rate configuration register decimal part - c0/c1 0110.

Definition at line 293 of file wk_reg_def.h.

◆ WKREG_BRH

uint8_t esphome::weikai::WKREG_BRH = 0x04
constexpr

Baud rate configuration register: high byte - c0/c1 0100.

-------------------------------------------------------------------------
| b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
-------------------------------------------------------------------------
| High byte of the baud rate |
-------------------------------------------------------------------------

Definition at line 280 of file wk_reg_def.h.

◆ WKREG_BRL

uint8_t esphome::weikai::WKREG_BRL = 0x05
constexpr

Baud rate configuration register: low byte - c0/c1 0101.

-------------------------------------------------------------------------
| b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
-------------------------------------------------------------------------
| Low byte of the baud rate |
-------------------------------------------------------------------------

Definition at line 290 of file wk_reg_def.h.

◆ WKREG_RFI

uint8_t esphome::weikai::WKREG_RFI = 0x07
constexpr

Receive FIFO Interrupt trigger configuration (not used) - c0/c1 0111.

Definition at line 296 of file wk_reg_def.h.

◆ WKREG_TFI

uint8_t esphome::weikai::WKREG_TFI = 0x08
constexpr

Transmit FIFO interrupt trigger configuration (not used) - c0/c1 1000.

Definition at line 299 of file wk_reg_def.h.