1.16.13.6 PMP_PortIsBusy Function

C

bool PMP_PortIsBusy( void )

Summary

Identifies if the (Master mode) PMP port is busy.

Description

This function identifies if the PMP port is busy (in Master mode).

Precondition

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

Parameters

None.

Returns

- true - If the port is busy

- false - If the port is not busy

Example

bool status;

PMP_Initialize();
PMP_AddressSet(0x1);
status = PLIB_PMP_PortIsBusy( PMP_ID_0 );

Remarks

None.