Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 1 of 1) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c2270 static inline void _spi_load_regs_master(void *const hw, const struct sercomspi_regs_cfg *regs) in _spi_load_regs_master() argument
2272 ASSERT(hw && regs); in _spi_load_regs_master()
2274 hw, regs->ctrla & ~(SERCOM_SPI_CTRLA_IBON | SERCOM_SPI_CTRLA_ENABLE | SERCOM_SPI_CTRLA_SWRST)); in _spi_load_regs_master()
2277 (regs->ctrlb in _spi_load_regs_master()
2280 hri_sercomspi_write_BAUD_reg(hw, regs->baud); in _spi_load_regs_master()
2281 hri_sercomspi_write_DBGCTRL_reg(hw, regs->dbgctrl); in _spi_load_regs_master()
2290 static inline void _spi_load_regs_slave(void *const hw, const struct sercomspi_regs_cfg *regs) in _spi_load_regs_slave() argument
2292 ASSERT(hw && regs); in _spi_load_regs_slave()
2294 hw, regs->ctrla & ~(SERCOM_SPI_CTRLA_IBON | SERCOM_SPI_CTRLA_ENABLE | SERCOM_SPI_CTRLA_SWRST)); in _spi_load_regs_slave()
2296 (regs->ctrlb & ~(SERCOM_SPI_CTRLB_MSSEN)) in _spi_load_regs_slave()
[all …]