1.10.16.5 1.12.17.5 1.16.13.5 1.17.13.5 1.18.13.5 1.19.13.5 1.20.13.5 1.21.14.5 1.22.18.5 1.23.17.5 PMP_MasterReceive Function

C

uint32_t PMP_MasterReceive( void )

Summary

Receives the data in Master mode.

Description

This function receives the data. The flow of data is from the slave to the master.

Precondition

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

Parameters

None.

Returns

uint32_t - Data received

Example

uint32_t data;

PMP_Initialize();
PMP_AddressSet(0x1);

if(!PMP_PortIsBusy())
{
    data = PMP_MasterReceive();
}

Remarks

None.