/* Selects the SCK pin as the source of baud rate for the USART synchronous slave modes.  */
static int usart_set_sync_slave_baudrate(volatile avr32_usart_t *usart)
/* Selects the SCK pin as the source of baud rate for the USART synchronous slave modes.  */
static int usart_set_sync_slave_baudrate(volatile avr32_usart_t *usart)
{
  usart->mr = (usart->mr & ~AVR32_USART_MR_USCLKS_MASK) |
              AVR32_USART_MR_USCLKS_SCK << AVR32_USART_MR_USCLKS_OFFSET |
              AVR32_USART_MR_SYNC_MASK;
  return USART_SUCCESS;
}