| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
eeprom_002.h File Reference
`#include "sys_config.h"`
`#include "cmsis.h"`

Go to the source code of this file.

## Data Structures
struct | IP_EEPROM_002_T
| EEPROM register block structure. More...

## Macros
#define | EEPROM_CMD_ERASE_PRG_PAGE (6)
#define | EEPROM_AUTOPROG_OFF (0)
#define | EEPROM_AUTOPROG_AFT_1WORDWRITTEN (1)
#define | EEPROM_AUTOPROG_AFT_LASTWORDWRITTEN (2)
#define | EEPROM_PWRDWN (1 << 0)
#define | EEPROM_INT_ENDOFPROG (1 << 2)

## Functions
STATIC INLINE void | IP_EEPROM_SetCmd (IP_EEPROM_002_T *pEEPROM, uint32_t cmd)
| Select an EEPROM command.
STATIC INLINE void | IP_EEPROM_SetAutoProg (IP_EEPROM_002_T *pEEPROM, uint32_t mode)
| Set Auto programming mode.
STATIC INLINE void | IP_EEPROM_SetReadWaitState (IP_EEPROM_002_T *pEEPROM, uint32_t ws)
| Set EEPROM Read Wait State value.
STATIC INLINE void | IP_EEPROM_SetWaitState (IP_EEPROM_002_T *pEEPROM, uint32_t ws)
| Set EEPROM Wait State value.
STATIC INLINE void | IP_EEPROM_EnablePowerDown (IP_EEPROM_002_T *pEEPROM)
| Put EEPROM device in power down mode.
STATIC INLINE void | IP_EEPROM_DisablePowerDown (IP_EEPROM_002_T *pEEPROM)
| Bring EEPROM device out of power down mode.
STATIC INLINE void | IP_EEPROM_EnableInt (IP_EEPROM_002_T *pEEPROM, uint32_t mask)
| Enable EEPROM interrupt.
STATIC INLINE void | IP_EEPROM_DisableInt (IP_EEPROM_002_T *pEEPROM, uint32_t mask)
| Disable EEPROM interrupt.
STATIC INLINE uint32_t | IP_EEPROM_GetIntEnable (IP_EEPROM_002_T *pEEPROM)
| Get the value of the EEPROM interrupt enable register.
STATIC INLINE uint32_t | IP_EEPROM_GetIntStatus (IP_EEPROM_002_T *pEEPROM)
| Get EEPROM interrupt status.
STATIC INLINE void | IP_EEPROM_SetIntStatus (IP_EEPROM_002_T *pEEPROM, uint32_t mask)
| Set EEPROM interrupt status.
STATIC INLINE void | IP_EEPROM_ClearIntStatus (IP_EEPROM_002_T *pEEPROM, uint32_t mask)
| Clear EEPROM interrupt status.
void | IP_EEPROM_Init (IP_EEPROM_002_T *pEEPROM, uint32_t div)
| Initializes EEPROM.
STATIC INLINE void | IP_EEPROM_DeInit (IP_EEPROM_002_T *pEEPROM)
| De-initializes EEPROM.
void | IP_EEPROM_EraseProgramPage (IP_EEPROM_002_T *pEEPROM)
| Erase/Program an EEPROM page.
void | IP_EEPROM_WaitForIntStatus (IP_EEPROM_002_T *pEEPROM, uint32_t mask)
| Wait for interrupt occurs.