![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| void | DDL_FLASH_ReadData (uint32_t baseAddr, uint32_t *data, uint32_t length) |
| Erase the systemInfo area of the flash. | |
| void | DDL_FLASH_WriteData (uint32_t baseAddr, uint32_t *data, uint32_t length) |
| Erase the systemInfo area of the flash. | |
| ErrorStatus | DDL_FLASH_EraseMain (uint32_t type, uint32_t baseAddr) |
| Erase the main area of the flash. | |
| void | DDL_FLASH_OPT_StructInit (DDL_FLASH_OPT_InitTypeDef *FLASH_OPT_InitStruct) |
| Set each DDL_FLASH_OPT_InitTypeDef field to default value. | |
| ErrorStatus | DDL_FLASH_OptionByteProgram (DDL_FLASH_OPT_InitTypeDef *FLASH_OPT_InitStruct) |
| Flash option byte programming. | |
| ErrorStatus | DDL_FLASH_MainProgram (uint32_t baseAddr, uint32_t *data, uint32_t numWords) |
| Program the systemInfo area of the flash. | |
| ErrorStatus DDL_FLASH_EraseMain | ( | uint32_t | type, |
| uint32_t | baseAddr ) |
Erase the main area of the flash.
| Types | of chip erasure. |
| baseAddr | –0x08000000 ~ 0x0801FFFF |
| An | ErrorStatus enumeration value:
|
Definition at line 152 of file g32r4xx_ddl_flash.c.
| ErrorStatus DDL_FLASH_MainProgram | ( | uint32_t | baseAddr, |
| uint32_t * | data, | ||
| uint32_t | numWords ) |
Program the systemInfo area of the flash.
| baseAddr | –0x08000000~0x0801FFFF |
| Target | Array |
| Length | of data to be program |
| An | ErrorStatus enumeration value:
|
Definition at line 380 of file g32r4xx_ddl_flash.c.
| void DDL_FLASH_OPT_StructInit | ( | DDL_FLASH_OPT_InitTypeDef * | FLASH_OPT_InitStruct | ) |
Set each DDL_FLASH_OPT_InitTypeDef field to default value.
| FLASH_OPT_InitStruct | Pointer to a DDL_FLASH_OPT_InitTypeDef structure whose fields will be set to default values. |
| None |
Definition at line 258 of file g32r4xx_ddl_flash.c.
| ErrorStatus DDL_FLASH_OptionByteProgram | ( | DDL_FLASH_OPT_InitTypeDef * | FLASH_OPT_InitStruct | ) |
Flash option byte programming.
| FLASH_OPT_InitStruct | Pointer to a DDL_FLASH_OPT_InitTypeDef structure whose fields will be set to default values. |
| None |
Definition at line 278 of file g32r4xx_ddl_flash.c.
| void DDL_FLASH_ReadData | ( | uint32_t | baseAddr, |
| uint32_t * | data, | ||
| uint32_t | length ) |
Erase the systemInfo area of the flash.
| baseAddr | |
| Target | Array |
| Length | of data to be read |
| None. |
Definition at line 229 of file g32r4xx_ddl_flash.c.
| void DDL_FLASH_WriteData | ( | uint32_t | baseAddr, |
| uint32_t * | data, | ||
| uint32_t | length ) |
Erase the systemInfo area of the flash.
| baseAddr | |
| Target | Array |
| Length | of data to be read |
| None. |
Definition at line 244 of file g32r4xx_ddl_flash.c.