1.28.12.7 OTPC_HidePacket Function

C

otpc_error_code_t OTPC_HidePacket(uint16_t headerAddress);

Summary

Hides the packet

Description

Hides a packet with a given address. Attempting to read a hidden packet will return all zeros.

Precondition

OTPC_Initialize() function must have been called first and a valid packet should exist at the address.

Parameters

Param Description
headerAddress Address of the packet

Returns

OTPC error code

Example

OTPC_Initialize();
OTPC_HidePacket(headerAddress);

Remarks

None