Sampling frequency and Receiver Model tweaks. (#3053)

This commit is contained in:
stafur
2026-02-28 04:11:04 -05:00
committed by GitHub
parent b2bf0f2459
commit b013e68b17
4 changed files with 20 additions and 2 deletions
+9
View File
@@ -79,6 +79,15 @@ static constexpr SPIConfig ssp_config_max283x = {
CR0_CLOCKRATE(ssp_scr(ssp1_pclk_f, ssp1_cpsr, max283x_spi_f) + 3) | CR0_FRFSPI | CR0_DSS9BIT,
.cpsr = ssp1_cpsr,
};
static max283x::MAX283x* transceiver = nullptr;
void set_rx_buff_vcm(const size_t v) {
if (transceiver) {
transceiver->set_rx_buff_vcm(v);
}
}
#else
/* MAX2837/MAX2839 use 16-bit SPI transfers */
static constexpr SPIConfig ssp_config_max283x = {