Vector Table Exported Functions

group VECTOR_TABLE_Exported_Functions

Functions

bool RamVectorTableInit(uint32_t ram_vector_addr)

Initialize RAM vector table to a given RAM address.

Note

When using vector table relocation, the base address of the new vector table must be aligned to the size of the vector table extended to the next larger power of 2. In RTL8762C, the base address is aligned at 0x100.

Parameters:

ram_vector_addr -- [in] RAM Vector Address.

Return values:
  • true -- Success

  • false -- Fail

Returns:

Init result

bool RamVectorTableUpdate(VECTORn_Type v_num, IRQ_Fun isr_handler)

Update ISR Handler in RAM Vector Table.

Parameters:
  • v_num -- [in] Vector number(index)

  • isr_handler -- [in] User defined ISR Handler.

Return values:
  • true -- Success

  • false -- Fail

Returns:

Update result.

void ROM_Default_Handler(void)

Default Handler in ROM.

void UART0_Handler(void)

Default UART0_Handler in ROM.

Note

src\app\ppt_esb_test\data_uart.c need this

void BTMAC_Handler(void)

Default BTMAC_Handler in ROM.