3.3 PAL PTA

The PAL PTA layer provides the support to use the Packet Transmission Arbitration(PTA) feature supported as part IEEE 802.15.4 Standalone PHY Driver.

The implementation design is systematized into two modules

  1. PTA Interface module
  2. PTA API module

The PTA Interface module delivers the core system functionality of the PTA feature which is used by IEEE 802.15.4 PHY Driver to deliver the PTA functionality, managing PTA requests and abort scenarios when the feature is activated. Meanwhile, the PTA API module offers the capability to configure the parameters associated with PTA and the debug information of the request, grant and abort count.

Table 3-2. PAL PTA API
S.No.FunctionDescription
1

PAL_PTA_Init

Initializes the PTA feature with selected configuration.
2

PAL_PTA_Enable

Enables/Disabled the PTA feature
3

PAL_PTA_IsEnabled

Checks if PTA feature is enabled.
4

PAL_PTA_GetConfig

Returns the current configured parameters of PTA.
5

PAL_PTA_SetConfig

Updates the PTA Configuration parameters.
6

PAL_PTA_GetDebugCtrs

Returns the debug information of the request,grant and abort count.
7

PAL_PTA_ResetDebugCtrs

Resets the debug information counters.