1.17.13.4 PMP_MasterSend Function

C

void PMP_MasterSend( uint32_t data )

Summary

Sends the specified data in Master mode.

Description

This function sends the specified data. The data flow is from master to slave.

Precondition

PMP should have been initialized by calling PMP_Initialize and configured for Master mode.

Parameters

Param Description
data Data to be transmitted

Returns

None.

Example

uint16_t data = 'a';

PMP_Initialize();
PMP_AddressSet(0x1);

if(!PMP_PortIsBusy())
{
    PMP_MasterSend(data);
}

Remarks

None.