1.10.16.4 1.12.17.4 1.16.13.4 1.17.13.4 1.18.13.4 1.19.13.4 1.20.13.4 1.21.14.4 1.22.18.4 1.23.17.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.