Maxim-Integrated /max32660 /FLC /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (complete)WRITE 0 (MASS_ERASE)MASS_ERASE 0 (PAGE_ERASE)PAGE_ERASE 0 (size128)WIDTH 0 (nop)ERASE_CODE0 (idle)BUSY 0 (LVE)LVE 0UNLOCK_CODE

BUSY=idle, WIDTH=size128, WRITE=complete, ERASE_CODE=nop

Description

Flash Control Register.

Fields

WRITE

Write. This bit is automatically cleared after the operation.

0 (complete): No operation/complete.

1 (start): Start operation.

MASS_ERASE

Mass Erase. This bit is automatically cleared after the operation.

PAGE_ERASE

Page Erase. This bit is automatically cleared after the operation.

WIDTH

Data Width. This bits selects write data width.

0 (size128): 128-bit.

1 (size32): 32-bit.

ERASE_CODE

Erase Code. The ERASE_CODE must be set up property before erase operation can be initiated. These bits are automatically cleared after the operation is complete.

0 (nop): No operation.

85 (erasePage): Enable Page Erase.

170 (eraseAll): Enable Mass Erase. The debug port must be enabled.

BUSY

Flash Pending. When Flash operation is in progress (busy), Flash reads and writes will fail. When PEND is set, write to all Flash registers, with exception of the Flash interrupt register, are ignored.

0 (idle): Idle.

1 (busy): Busy.

LVE

Low Voltage enable.

UNLOCK_CODE

Flash Unlock. The correct unlock code must be written to these four bits before any Flash write or erase operation is allowed.

2 (unlocked): Flash Unlocked.

3 (locked): Flash Locked.

Links

()