|
|
#define | DL_SCRATCHPAD_MEM_WORD_0 DL_LFSS_SCRATCHPAD_MEM_WORD_0 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_0.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_1 DL_LFSS_SCRATCHPAD_MEM_WORD_1 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_1.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_1 DL_LFSS_SCRATCHPAD_MEM_WORD_1 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_1.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_2 DL_LFSS_SCRATCHPAD_MEM_WORD_2 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_2.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_2 DL_LFSS_SCRATCHPAD_MEM_WORD_2 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_2.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_3 DL_LFSS_SCRATCHPAD_MEM_WORD_3 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_3.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_4 DL_LFSS_SCRATCHPAD_MEM_WORD_4 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_4.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_5 DL_LFSS_SCRATCHPAD_MEM_WORD_5 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_5.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_6 DL_LFSS_SCRATCHPAD_MEM_WORD_6 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_6.
|
| |
|
#define | DL_SCRATCHPAD_MEM_WORD_7 DL_LFSS_SCRATCHPAD_MEM_WORD_7 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_WORD_7.
|
| |
|
#define | DL_SCRATCHPAD_MEM_BYTE_0 DL_LFSS_SCRATCHPAD_MEM_BYTE_0 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_BYTE_0.
|
| |
|
#define | DL_SCRATCHPAD_MEM_BYTE_1 DL_LFSS_SCRATCHPAD_MEM_BYTE_1 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_BYTE_1.
|
| |
|
#define | DL_SCRATCHPAD_MEM_BYTE_2 DL_LFSS_SCRATCHPAD_MEM_BYTE_2 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_BYTE_2.
|
| |
|
#define | DL_SCRATCHPAD_MEM_BYTE_3 DL_LFSS_SCRATCHPAD_MEM_BYTE_3 |
| | Redirects to common DL_LFSS_SCRATCHPAD_MEM_BYTE_3.
|
| |
| #define | DL_ScratchPad_writeDataWord(lfss, memIndex, data) |
| | Redirects to common DL_LFSS_writeScratchPadData32. More...
|
| |
| #define | DL_ScratchPad_writeDataByte(lfss, memIndex, byteIndex, data) |
| | Redirects to common DL_LFSS_writeScratchPadData8. More...
|
| |
| #define | DL_ScratchPad_readDataWord(lfss, memIndex) |
| | Redirects to common DL_LFSS_readScratchPadDataWord. More...
|
| |
| #define | DL_ScratchPad_readDataByte(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_readScratchPadDataByte. More...
|
| |
| #define | DL_ScratchPad_enableWriteProtectByte(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_enableScratchPadWriteProtectByte. More...
|
| |
| #define | DL_ScratchPad_isWriteProtectByteEnabled(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_isScratchPadWriteProtectByteEnabled. More...
|
| |
| #define | DL_ScratchPad_disableWriteProtectByte(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_disableScratchPadWriteProtectByte. More...
|
| |
| #define | DL_ScratchPad_enableTamperEraseByte(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_enableScratchPadTamperEraseByte. More...
|
| |
| #define | DL_ScratchPad_isTamperEraseByteEnabled(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_isScratchPadTamperEraseByteEnabled. More...
|
| |
| #define | DL_ScratchPad_disableTamperEraseByte(lfss, memIndex, byteIndex) |
| | Redirects to common DL_LFSS_disableScratchPadTamperEraseByte. More...
|
| |
Overview
The Scratchpad Memory Library allows full configuration of the MSPM0 Scratchpad Memory within the LFSS IP.
The LFSS scratch pad memory is a 16- to 128-byte register based memory, which will retain data similar to a non-volatile memory as long as VBAT is supplied. The number of implemented bytes shall be configurable in a granularity of 4 bytes. This means the scratch pad memory retains data when the main VDD supply is lost or during the SHUTDOWN mode. However, the memory content won’t be retained, when the VBAT domain itself is lost.
§ DL_ScratchPad_writeDataWord
| #define DL_ScratchPad_writeDataWord |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
data |
|
) |
| |
Value: data)
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE void DL_LFSS_writeScratchPadData32(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, uint32_t data)
Write a word in scratch pad memory.
Definition: dl_lfss.h:1362
Redirects to common DL_LFSS_writeScratchPadData32.
§ DL_ScratchPad_writeDataByte
| #define DL_ScratchPad_writeDataByte |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex, |
|
|
|
data |
|
) |
| |
Value: data)
DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE void DL_LFSS_writeScratchPadData8(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex, uint32_t data)
Write to a single byte in scratch pad memory.
Definition: dl_lfss.h:1391
Redirects to common DL_LFSS_writeScratchPadData8.
§ DL_ScratchPad_readDataWord
| #define DL_ScratchPad_readDataWord |
( |
|
lfss, |
|
|
|
memIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE uint32_t DL_LFSS_readScratchPadDataWord(const LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex)
Read the specified word in scratch pad memory.
Definition: dl_lfss.h:1419
Redirects to common DL_LFSS_readScratchPadDataWord.
§ DL_ScratchPad_readDataByte
| #define DL_ScratchPad_readDataByte |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:__STATIC_INLINE uint8_t DL_LFSS_readScratchPadDataByte(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Read the specified byte in scratch pad memory.
Definition: dl_lfss.h:1447
DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
Redirects to common DL_LFSS_readScratchPadDataByte.
§ DL_ScratchPad_enableWriteProtectByte
| #define DL_ScratchPad_enableWriteProtectByte |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
__STATIC_INLINE void DL_LFSS_enableScratchPadWriteProtectByte(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Enable write protection lock of the specified byte in scratch pad memory from accidental updates...
Definition: dl_lfss.h:1474
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
Redirects to common DL_LFSS_enableScratchPadWriteProtectByte.
§ DL_ScratchPad_isWriteProtectByteEnabled
| #define DL_ScratchPad_isWriteProtectByteEnabled |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE bool DL_LFSS_isScratchPadWriteProtectByteEnabled(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Checks if write protection is enabled for the specified byte in scratch pad memory.
Definition: dl_lfss.h:1505
Redirects to common DL_LFSS_isScratchPadWriteProtectByteEnabled.
§ DL_ScratchPad_disableWriteProtectByte
| #define DL_ScratchPad_disableWriteProtectByte |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE void DL_LFSS_disableScratchPadWriteProtectByte(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Disable write protection lock of the specified byte in scratch pad memory.
Definition: dl_lfss.h:1535
Redirects to common DL_LFSS_disableScratchPadWriteProtectByte.
§ DL_ScratchPad_enableTamperEraseByte
| #define DL_ScratchPad_enableTamperEraseByte |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE void DL_LFSS_enableScratchPadTamperEraseByte(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Enable tamper erase of the specified byte in scratch pad memory.
Definition: dl_lfss.h:1565
Redirects to common DL_LFSS_enableScratchPadTamperEraseByte.
§ DL_ScratchPad_isTamperEraseByteEnabled
| #define DL_ScratchPad_isTamperEraseByteEnabled |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE bool DL_LFSS_isScratchPadTamperEraseByteEnabled(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Checks if tamper erase is enabled for the specified byte in scratch pad memory.
Definition: dl_lfss.h:1596
Redirects to common DL_LFSS_isScratchPadTamperEraseByteEnabled.
§ DL_ScratchPad_disableTamperEraseByte
| #define DL_ScratchPad_disableTamperEraseByte |
( |
|
lfss, |
|
|
|
memIndex, |
|
|
|
byteIndex |
|
) |
| |
Value:DL_LFSS_SCRATCHPAD_MEM_BYTE
Definition: dl_lfss.h:451
DL_LFSS_SCRATCHPAD_MEM_WORD
Definition: dl_lfss.h:431
__STATIC_INLINE void DL_LFSS_disableScratchPadTamperEraseByte(LFSS_Regs *lfss, DL_LFSS_SCRATCHPAD_MEM_WORD memIndex, DL_LFSS_SCRATCHPAD_MEM_BYTE byteIndex)
Disable tamper erase of the specified byte in scratch pad memory.
Definition: dl_lfss.h:1625
Redirects to common DL_LFSS_disableScratchPadTamperEraseByte.