![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| void | DDL_NVIC_ConfigPriorityGroup (uint32_t priorityGroup) |
| Configures the priority grouping: pre-emption priority and subpriority. | |
| void | DDL_NVIC_EnableIRQRequest (IRQn_Type irq, uint8_t preemptionPriority, uint8_t subPriority) |
| Enable NVIC request. | |
| void | DDL_NVIC_DisableIRQRequest (IRQn_Type irq) |
| Disable NVIC request. | |
| void | DDL_NVIC_ConfigVectorTable (uint32_t vectTab, uint32_t offset) |
| Configs the vector table location and Offset. | |
| void | DDL_SysTick_ConfigCLKSource (uint32_t clkSource) |
| Configures the SysTick clock source. | |
| ErrorStatus | DDL_Interrupt_Register (IRQn_Type irqn, Interrupt_Handler new_handler) |
| User-defined interrupt service function. | |
| ErrorStatus DDL_Interrupt_Register | ( | IRQn_Type | irqn, |
| Interrupt_Handler | new_handler ) |
User-defined interrupt service function.
| irqn | Interrupt vector number |
| new_handler | The new entry address of interrupt service function. |
| An | ErrorStatus enumeration value:
|
Definition at line 232 of file g32r4xx_ddl_nvic.c.
| void DDL_NVIC_ConfigPriorityGroup | ( | uint32_t | priorityGroup | ) |
Configures the priority grouping: pre-emption priority and subpriority.
| priorityGroup | : specifies the priority grouping bits length. This parameter can be one of the following values:
|
| None |
Definition at line 95 of file g32r4xx_ddl_nvic.c.
| void DDL_NVIC_ConfigVectorTable | ( | uint32_t | vectTab, |
| uint32_t | offset ) |
Configs the vector table location and Offset.
| vectTab | specifies if the vector table is in RAM or FLASH memory This parameter can be one of the following values:
|
| Offset | Vector Table base offset field. This value must be a multiple of 0x200 |
| None |
Definition at line 191 of file g32r4xx_ddl_nvic.c.
| void DDL_NVIC_DisableIRQRequest | ( | IRQn_Type | irq | ) |
Disable NVIC request.
| irq | the NVIC interrupt request, detailed in IRQn_Type |
| None |
Definition at line 173 of file g32r4xx_ddl_nvic.c.
| void DDL_NVIC_EnableIRQRequest | ( | IRQn_Type | irq, |
| uint8_t | preemptionPriority, | ||
| uint8_t | subPriority ) |
Enable NVIC request.
| irq | the NVIC interrupt request, detailed in IRQn_Type For the complete G32 Devices IRQ Channels list,please refer to g32r4xx.h file |
| preemptionPriority | the pre-emption priority needed to set |
| subPriority | the subpriority needed to set |
| None |
Definition at line 112 of file g32r4xx_ddl_nvic.c.
| void DDL_SysTick_ConfigCLKSource | ( | uint32_t | clkSource | ) |
Configures the SysTick clock source.
| clkSource | specifies the SysTick clock source This parameter can be one of the following values:
|
| None |
Definition at line 206 of file g32r4xx_ddl_nvic.c.