Jump to main content

##

# 2.109.7 SENTx_IsTransmissionComplete Function

## C

    /* x refers to the instance number */

    bool SENTx_IsTransmissionComplete(void)

## Summary

Returns the transmit complete status when SENT Peripheral acts as a transmitter.

## Description

This function checks the status of the SENT transmission to determine if the current transmission has been completed.

## Precondition

Ensure that the SENTx Peripheral is properly initialized, enabled and configured before calling this function.

## Parameters

None.

## Returns

true - SENTx transmit completed.

false - SENTx transmit not completed.

## Example

    struct SENT_DATA_TRANSMIT data;
    data.data1 = 0x01;
    data.data2 = 0x02;
    data.data3 = 0x03;
    data.status = 0x00;
    SENT1_Initialize();
    SENT1_Transmit(&data);
    while(!SENT1_IsTransmissionComplete());
    {
    }

## Remarks

None.