Enumerations
Enumerations
SYSTEM » Device Firmware Update

## Enumerations
enum | dfu_uart_baudrate_t { DFU_UART_BAUDRATE_9600 = 9600, DFU_UART_BAUDRATE_19200 = 19200, DFU_UART_BAUDRATE_38400 = 38400, DFU_UART_BAUDRATE_57600 = 57600, DFU_UART_BAUDRATE_115200 = 115200, DFU_UART_BAUDRATE_230400 = 230400, DFU_UART_BAUDRATE_921600 = 921600 }
| UART baudrate definition. More...
enum | dfu_uart_data_bit_t { DFU_UART_DATA_BIT_5 = 0, DFU_UART_DATA_BIT_6, DFU_UART_DATA_BIT_7, DFU_UART_DATA_BIT_8 }
| UART data bit definition. More...
enum | dfu_uart_stop_bit_t { DFU_UART_STOP_BIT_1 = 0, DFU_UART_STOP_BIT_1_5, DFU_UART_STOP_BIT_2 }
| UART stop bit definition. More...
enum | dfu_uart_parity_bit_t { DFU_UART_PARITY_NONE = 0, DFU_UART_PARITY_ODD, DFU_UART_PARITY_EVEN, DFU_UART_PARITY_SP_0, DFU_UART_PARITY_SP_1 }
| UART parity definition. More...
enum | dfu_uart_pin_group_t { DFU_UART_PIN_GROUP_0 = 0, DFU_UART_PIN_GROUP_1, DFU_UART_PIN_GROUP_2, DFU_UART_PIN_GROUP_3, DFU_UART_PIN_GROUP_4, DFU_UART_PIN_GROUP_5 }
| UART pin group definition. More...
enum | dfu_info_state { DFU_INFO_DISABLE = 0x5775, DFU_INFO_ENABLE = 0x7ff7, DFU_INFO_DEFAULT = 0x4774 }
| DFU informatica status. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ dfu_info_state

enum dfu_info_state

DFU informatica status.

Enumerator
DFU_INFO_DISABLE | DFU Config Info Disable.
DFU_INFO_ENABLE | DFU Config Info Enable.
DFU_INFO_DEFAULT | DFU Config Info DEFAULT.

Definition at line 129 of file gr55xx_dfu.h.

## ◆ dfu_uart_baudrate_t

enum dfu_uart_baudrate_t

UART baudrate definition.

Enumerator
DFU_UART_BAUDRATE_9600 | Baudrate 9600.
DFU_UART_BAUDRATE_19200 | Baudrate 19200.
DFU_UART_BAUDRATE_38400 | Baudrate 38400.
DFU_UART_BAUDRATE_57600 | Baudrate 57600.
DFU_UART_BAUDRATE_115200 | Baudrate 115200.
DFU_UART_BAUDRATE_230400 | Baudrate 230400.
DFU_UART_BAUDRATE_921600 | Baudrate 921600.

Definition at line 79 of file gr55xx_dfu.h.

## ◆ dfu_uart_data_bit_t

enum dfu_uart_data_bit_t

UART data bit definition.

Enumerator
DFU_UART_DATA_BIT_5 | Data bit 5.
DFU_UART_DATA_BIT_6 | Data bit 6.
DFU_UART_DATA_BIT_7 | Data bit 7.
DFU_UART_DATA_BIT_8 | Data bit 8.

Definition at line 91 of file gr55xx_dfu.h.

## ◆ dfu_uart_parity_bit_t

enum dfu_uart_parity_bit_t

UART parity definition.

Enumerator
DFU_UART_PARITY_NONE | Parity none.
DFU_UART_PARITY_ODD | Parity odd.
DFU_UART_PARITY_EVEN | Parity even.
DFU_UART_PARITY_SP_0 | Parity stick 0.
DFU_UART_PARITY_SP_1 | Parity stick 1.

Definition at line 108 of file gr55xx_dfu.h.

## ◆ dfu_uart_pin_group_t

enum dfu_uart_pin_group_t

UART pin group definition.

Enumerator
DFU_UART_PIN_GROUP_0 | GPIO0_PIN3 -> UART0_TXD(MUX0),GPIO0_PIN4 -> UART0_RXD(MUX0)
DFU_UART_PIN_GROUP_1 | GPIO0_PIN10 -> UART0_TXD(MUX2),GPIO0_PIN11 -> UART0_RXD(MUX2)
DFU_UART_PIN_GROUP_2 | GPIO0_PIN0 -> UART0_TXD(MUX4),GPIO0_PIN1 -> UART0_RXD(MUX4)
DFU_UART_PIN_GROUP_3 | GPIO1_PIN14 -> UART0_TXD(MUX5),GPIO1_PIN10 -> UART0_RXD(MUX5)
DFU_UART_PIN_GROUP_4 | GPIO0_PIN7 -> UART1_TXD(MUX3),GPIO0_PIN6 -> UART1_RXD(MUX3)
DFU_UART_PIN_GROUP_5 | GPIO0_PIN9 -> UART1_TXD(MUX3),GPIO0_PIN8 -> UART1_RXD(MUX3)

Definition at line 118 of file gr55xx_dfu.h.

## ◆ dfu_uart_stop_bit_t

enum dfu_uart_stop_bit_t

UART stop bit definition.

Enumerator
DFU_UART_STOP_BIT_1 | Stop bit 1. Avaliable when data bit = 5,6,7,8.
DFU_UART_STOP_BIT_1_5 | Stop bit 1.5. Avaliable when data bit = 5.
DFU_UART_STOP_BIT_2 | Stop bit 2. Avaliable when data bit = 6,7,8.

Definition at line 100 of file gr55xx_dfu.h.