LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_chip/chip_18xx_43xx/otp_18xx_43xx.c File Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Macros | Functions | Variables
otp_18xx_43xx.c File Reference
`#include "chip.h"`

Go to the source code of this file.

## Macros
#define | BOOTROM_BASE 0x10400100
#define | OTP_API_TABLE_OFFSET 0x1

## Functions
uint32_t | Chip_OTP_Init (void)
| Initialize for OTP Controller functions. More...
uint32_t | Chip_OTP_ProgBootSrc (CHIP_OTP_BOOT_SRC_T BootSrc)
| Program boot source in OTP Controller. More...
uint32_t | Chip_OTP_ProgJTAGDis (void)
| Program the JTAG bit in OTP Controller. More...
uint32_t | Chip_OTP_ProgUSBID (uint32_t ProductID, uint32_t VendorID)
| Program USB ID in OTP Controller. More...
uint32_t | Chip_OTP_ProgGPWord (uint32_t WordNum, uint32_t Data, uint32_t Mask)
| Program OTP GP Word memory. More...
uint32_t | Chip_OTP_ProgKey (uint32_t KeyNum, uint8_t *key)
| Program AES Key. More...
uint32_t | Chip_OTP_GenRand (void)
| Generate Random Number using HW Random Number Generator. More...

## Variables
static unsigned long * | BOOTROM_API_TABLE
static uint32_t(* | Otp_ProgBootSrc )(CHIP_OTP_BOOT_SRC_T BootSrc)
static uint32_t(* | Otp_ProgJTAGDis )(void)
static uint32_t(* | Otp_ProgUSBID )(uint32_t ProductID, uint32_t VendorID)
static uint32_t(* | Otp_ProgGP0 )(uint32_t Data, uint32_t Mask)
static uint32_t(* | Otp_ProgGP1 )(uint32_t Data, uint32_t Mask)
static uint32_t(* | Otp_ProgGP2 )(uint32_t Data, uint32_t Mask)
static uint32_t(* | Otp_ProgKey1 )(uint8_t *key)
static uint32_t(* | Otp_ProgKey2 )(uint8_t *key)
static uint32_t(* | Otp_GenRand )(void)

## Macro Definition Documentation

#define BOOTROM_BASE 0x10400100

Definition at line 38 of file otp_18xx_43xx.c.

#define OTP_API_TABLE_OFFSET 0x1

Definition at line 39 of file otp_18xx_43xx.c.

## Variable Documentation

unsigned long* BOOTROM_API_TABLE
| static

Definition at line 41 of file otp_18xx_43xx.c.

uint32_t(* Otp_GenRand)(void)
| static

Definition at line 59 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgBootSrc)(CHIP_OTP_BOOT_SRC_T BootSrc)
| static

Definition at line 51 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgGP0)(uint32_t Data, uint32_t Mask)
| static

Definition at line 54 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgGP1)(uint32_t Data, uint32_t Mask)
| static

Definition at line 55 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgGP2)(uint32_t Data, uint32_t Mask)
| static

Definition at line 56 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgJTAGDis)(void)
| static

Definition at line 52 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgKey1)(uint8_t *key)
| static

Definition at line 57 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgKey2)(uint8_t *key)
| static

Definition at line 58 of file otp_18xx_43xx.c.

uint32_t(* Otp_ProgUSBID)(uint32_t ProductID, uint32_t VendorID)
| static

Definition at line 53 of file otp_18xx_43xx.c.