1.25.9.5 1.26.8.5 1.28.12.5 OTPC_LockPacket Function

C

otpc_error_code_t OTPC_LockPacket(uint16_t headerAddress);

Summary

Locks the packet

Description

Lock a packet with given address. No further modification are permitted.

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_LockPacket(headerAddress);

Remarks

None