1.38.21.7 SERCOMx_USART_WriteByte Function

C

/* x = SERCOM instance number */

/* Blocking mode */

void SERCOMx_USART_WriteByte( int data )

Summary

Submits a byte of data to the given USART peripheral to transfer

Description

This function submits a byte of data to the USART peripheral to transfer. This Function is available only in non-interrupt mode.

Precondition

SERCOMx_USART_Initialize must have been called for the associated USART instance.

Parameters

Param Description
data Data byte to be transferred.

Returns

None

Example

char myData = 'A';

SERCOM0_USART_WriteByte(myData);

Remarks

None