ci: check register half word

This commit is contained in:
laokaiyao
2025-01-14 16:54:36 +08:00
committed by Kevin (Lao Kaiyao)
parent 79fd265c20
commit c13ac70aa7
23 changed files with 94 additions and 44 deletions

View File

@@ -181,7 +181,7 @@ static inline void spi_ll_clk_source_pre_div(spi_dev_t *hw, uint8_t hs_div, uint
{
// In IDF master driver 'mst_div' will be const 2 and 'hs_div' is actually pre_div temporally
(void) hs_div;
PCR.spi2_clkm_conf.spi2_clkm_div_num = mst_div - 1;
HAL_FORCE_MODIFY_U32_REG_FIELD(PCR.spi2_clkm_conf, spi2_clkm_div_num, mst_div - 1);
}
/**