| 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 | Typedefs | Enumerations | Functions
dfuutil_programming_api.h File Reference
`#include "board.h"`

Go to the source code of this file.

## Data Structures
struct | DFUPROG_REGZONE_T
struct | PROGALGOS_T
struct | DFUPROG_REGION_T
struct | DFU_FROMHOST_PACKETHDR_T
struct | DFU_TOHOST_PACKETHDR_T

## Macros
#define | DFUPROG_VALIDVAL (0x18430000 | (0x010A))

## Typedefs
typedef int32_t(* | progalgo_flash_erase_region )(uint32_t, uint32_t)
typedef int32_t(* | progalgo_flash_erase_all )(void)
typedef int32_t(* | progalgo_flash_write )(void *, uint32_t, uint32_t)
typedef int32_t(* | progalgo_flash_read )(void *, uint32_t, uint32_t)

## Enumerations
enum | DFU_HOSTCMD_T { DFU_HOSTCMD_SETDEBUG, DFU_HOSTCMD_ERASE_ALL, DFU_HOSTCMD_ERASE_REGION, DFU_HOSTCMD_PROGRAM, DFU_HOSTCMD_READBACK, DFU_HOSTCMD_RESET, DFU_HOSTCMD_EXECUTE }
enum | DFU_OPSTS_T { DFU_OPSTS_IDLE, DFU_OPSTS_ERRER, DFU_OPSTS_PROGER, DFU_OPSTS_READER, DFU_OPSTS_ERRUN, DFU_OPSTS_READBUSY, DFU_OPSTS_READTRIG, DFU_OPSTS_READREADY, DFU_OPSTS_ERASE_ALL_ST, DFU_OPSTS_ERASE_ST, DFU_OPSTS_ERASE, DFU_OPSTS_PROG, DFU_OPSTS_PROG_RSVD, DFU_OPSTS_PROG_STREAM, DFU_OPSTS_RESET, DFU_OPSTS_EXEC, DFU_OPSTS_LOOP }

## Functions
DFUPROG_REGION_T * | algo_flash_init (void)
| Initializes device programming capability.
void | usbDebug (char *str)
| Queues a message for DFU status transfer.