Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c137 static struct usart_configuration _usarts[1] = {{0}}; variable
142 static struct usart_configuration _usarts[] = { variable
574 for (i = 0; i < ARRAY_SIZE(_usarts); i++) { in _get_sercom_index()
575 if (_usarts[i].number == sercom_offset) { in _get_sercom_index()
609 hri_sercomusart_write_CTRLA_reg(hw, _usarts[i].ctrl_a); in _usart_init()
610 hri_sercomusart_write_CTRLB_reg(hw, _usarts[i].ctrl_b); in _usart_init()
611 …if ((_usarts[i].ctrl_a & SERCOM_USART_CTRLA_SAMPR(0x1)) || (_usarts[i].ctrl_a & SERCOM_USART_CTRLA… in _usart_init()
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()
615 hri_sercomusart_write_BAUD_reg(hw, _usarts[i].baud); in _usart_init()
[all …]