Public Attributes | List of all members
dfu_func_t Struct Reference
SYSTEM » Device Firmware Update » Structures

DFU used functions config definition. More...

`#include <gr533x_dfu.h>`

## Public Attributes
void(* | dfu_ble_send_data )(uint8_t *data, uint16_t size)
void(* | dfu_uart_send_data )(uint8_t *data, uint16_t size)
uint32_t(* | dfu_flash_read )(uint32_t addr, uint8_t *buf, uint32_t size)
uint32_t(* | dfu_flash_write )(uint32_t addr, uint8_t *buf, uint32_t size)
uint32_t(* | dfu_flash_erase )(uint32_t erase_type, uint32_t addr, uint32_t size)
void(* | dfu_flash_get_info )(uint32_t *id, uint32_t *size)
uint32_t(* | dfu_flash_feat_enable )(uint32_t feature)

## Detailed Description

DFU used functions config definition.

Definition at line 123 of file gr533x_dfu.h.

## Member Data Documentation

## ◆ dfu_ble_send_data

void(* dfu_func_t::dfu_ble_send_data) (uint8_t *data, uint16_t size)

Definition at line 125 of file gr533x_dfu.h.

## ◆ dfu_flash_erase

uint32_t(* dfu_func_t::dfu_flash_erase) (uint32_t erase_type, uint32_t addr, uint32_t size)

Definition at line 130 of file gr533x_dfu.h.

## ◆ dfu_flash_feat_enable

uint32_t(* dfu_func_t::dfu_flash_feat_enable) (uint32_t feature)

Definition at line 132 of file gr533x_dfu.h.

## ◆ dfu_flash_get_info

void(* dfu_func_t::dfu_flash_get_info) (uint32_t *id, uint32_t *size)

Definition at line 131 of file gr533x_dfu.h.

## ◆ dfu_flash_read

uint32_t(* dfu_func_t::dfu_flash_read) (uint32_t addr, uint8_t *buf, uint32_t size)

Definition at line 128 of file gr533x_dfu.h.

## ◆ dfu_flash_write

uint32_t(* dfu_func_t::dfu_flash_write) (uint32_t addr, uint8_t *buf, uint32_t size)

Definition at line 129 of file gr533x_dfu.h.

## ◆ dfu_uart_send_data

void(* dfu_func_t::dfu_uart_send_data) (uint8_t *data, uint16_t size)

Definition at line 126 of file gr533x_dfu.h.

The documentation for this struct was generated from the following file:

- gr533x_dfu.h