1.2.21.7 1.3.25.7 1.4.21.7 1.5.25.7 1.6.22.7 1.7.23.7 1.9.19.7 1.29.23.7 1.30.18.7 1.31.18.7 1.32.26.7 1.33.16.7 1.37.18.7 1.38.21.7 1.39.18.7 1.40.20.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