Flash
int32_t
(uint32_t
∗
pui32User0, uint32_t
∗
pui32User1)
int32_t
(void)
int32_t
(uint32_t ui32User0, uint32_t ui32User1)
8.2.1
Function Documentation
8.2.1.1
ROM_FlashErase
Erases a block of flash.
Prototype:
int32_t
ROM_FlashErase(uint32_t ui32Address)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_FLASHTABLE
is an array of pointers located at
ROM_APITABLE[7]
.
ROM_FlashErase
is a function pointer located at
ROM_FLASHTABLE[3]
.
Parameters:
ui32Address
is the start address of the flash block to be erased.
Description:
This function will erase a 1 kB block of the on-chip flash. After erasing, the block is filled with
0xFF bytes. Read-only and execute-only blocks cannot be erased.
This function will not return until the block has been erased.
Returns:
Returns 0 on success, or -1 if an invalid block address was specified or the block is write-
protected.
8.2.1.2
ROM_FlashIntClear
Clears flash controller interrupt sources.
Prototype:
void
ROM_FlashIntClear(uint32_t ui32IntFlags)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_FLASHTABLE
is an array of pointers located at
ROM_APITABLE[7]
.
ROM_FlashIntClear
is a function pointer located at
ROM_FLASHTABLE[13]
.
Parameters:
ui32IntFlags
is the bit mask of the interrupt sources to be cleared.
Can be any of the
FLASH_INT_PROGRAM
or
FLASH_INT_AMISC
values.
Description:
The specified flash controller interrupt sources are cleared, so that they no longer assert. This
must be done in the interrupt handler to keep it from being called again immediately upon exit.
74
April 8, 2013
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...