Jump to main content

##

# 2.73.3 NVMCTRL_SetWriteMode Function

## C

    void NVMCTRL_SetWriteMode(NVMCTRL_WRITEMODE mode);

## Summary

Sets the write mode for Flash.

## Description

There are four write mode supported. Use this function to set the appropriate write mode, before performing Flash writes. The default write mode is Manual Write.

## Precondition

None

## Parameters

Param | Description
--- | ---
mode | Enumerated type, indicates one of the four write modes.

## Returns

None.

## Example

    NVMCTRL_SetWriteMode(NVMCTRL_WMODE_AP);