Jump to main content

##

# 2.125.3 TRAM_DataScrambleKeySet Function

## C

    void TRAM_DataScrambleKeySet ( uint32_t dsckey )

## Summary

Sets the key for data scrambling of the TrustRAM

## Description

This function is used to set the key for data scrambling of the TrustRAM.

## Precondition

Data scrambling has to be disabled using TRAM_DataScrambleEnable() function before calling this function to set the key.

## Parameters

Param | Description
--- | ---
dsckey | Data Scramble Key.

## Returns

None.

## Example

    // Disable Data Scrambling
    TRAM_DataScrambleEnable(false);

    TRAM_DataScrambleKeySet(0x123456);

## Remarks

None.