Searched refs:Sercom (Results 1 – 14 of 14) sorted by relevance
103 while (((Sercom *)hw)->I2CM.SYNCBUSY.reg & reg) { in hri_sercomi2cm_wait_for_sync()109 return ((Sercom *)hw)->I2CM.SYNCBUSY.reg & reg; in hri_sercomi2cm_is_syncing()114 while (((Sercom *)hw)->I2CS.SYNCBUSY.reg & reg) { in hri_sercomi2cs_wait_for_sync()120 return ((Sercom *)hw)->I2CS.SYNCBUSY.reg & reg; in hri_sercomi2cs_is_syncing()125 while (((Sercom *)hw)->SPI.SYNCBUSY.reg & reg) { in hri_sercomspi_wait_for_sync()131 return ((Sercom *)hw)->SPI.SYNCBUSY.reg & reg; in hri_sercomspi_is_syncing()136 while (((Sercom *)hw)->USART.SYNCBUSY.reg & reg) { in hri_sercomusart_wait_for_sync()142 return ((Sercom *)hw)->USART.SYNCBUSY.reg & reg; in hri_sercomusart_is_syncing()147 ((Sercom *)hw)->SPI.INTENSET.reg = SERCOM_SPI_INTENSET_DRE; in hri_sercomspi_set_INTEN_DRE_bit()152 return (((Sercom *)hw)->SPI.INTENSET.reg & SERCOM_SPI_INTENSET_DRE) >> SERCOM_SPI_INTENSET_DRE_Pos; in hri_sercomspi_get_INTEN_DRE_bit()[all …]
534 #define SERCOM0 ((Sercom *)0x42000000UL) /**< \brief (SERCOM0) APB Base Address */535 #define SERCOM1 ((Sercom *)0x42000400UL) /**< \brief (SERCOM1) APB Base Address */536 #define SERCOM2 ((Sercom *)0x42000800UL) /**< \brief (SERCOM2) APB Base Address */537 #define SERCOM3 ((Sercom *)0x42000C00UL) /**< \brief (SERCOM3) APB Base Address */538 #define SERCOM4 ((Sercom *)0x42001000UL) /**< \brief (SERCOM4) APB Base Address */539 #define SERCOM5 ((Sercom *)0x43000400UL) /**< \brief (SERCOM5) APB Base Address */
544 #define SERCOM0 ((Sercom *)0x42000000UL) /**< \brief (SERCOM0) APB Base Address */545 #define SERCOM1 ((Sercom *)0x42000400UL) /**< \brief (SERCOM1) APB Base Address */546 #define SERCOM2 ((Sercom *)0x42000800UL) /**< \brief (SERCOM2) APB Base Address */547 #define SERCOM3 ((Sercom *)0x42000C00UL) /**< \brief (SERCOM3) APB Base Address */548 #define SERCOM4 ((Sercom *)0x42001000UL) /**< \brief (SERCOM4) APB Base Address */549 #define SERCOM5 ((Sercom *)0x43000400UL) /**< \brief (SERCOM5) APB Base Address */
515 return ((uint32_t)hw - (uint32_t)SERCOM0) / sizeof(Sercom); in _sercom_get_hardware_index()612 ((Sercom *)hw)->USART.BAUD.FRAC.BAUD = _usarts[i].baud; in _usart_init()613 ((Sercom *)hw)->USART.BAUD.FRAC.FP = _usarts[i].fractional; in _usart_init()
1440 } Sercom; typedef