| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /* generated common source file - do not edit */
- #include "common_data.h"
- icu_instance_ctrl_t g_external_irq0_ctrl;
- /** External IRQ extended configuration for ICU HAL driver */
- const icu_extended_cfg_t g_external_irq0_ext_cfg =
- {
- .filter_src = EXTERNAL_IRQ_DIGITAL_FILTER_PCLK_DIV,
- };
- const external_irq_cfg_t g_external_irq0_cfg =
- {
- .channel = 0,
- .trigger = EXTERNAL_IRQ_TRIG_RISING,
- .filter_enable = false,
- .clock_source_div = EXTERNAL_IRQ_CLOCK_SOURCE_DIV_64,
- .p_callback = irq_callback,
- /** If NULL then do not add & */
- #if defined(NULL)
- .p_context = NULL,
- #else
- .p_context = (void *) &NULL,
- #endif
- .p_extend = (void *)&g_external_irq0_ext_cfg,
- .ipl = (12),
- #if defined(VECTOR_NUMBER_ICU_IRQ0)
- .irq = VECTOR_NUMBER_ICU_IRQ0,
- #else
- .irq = FSP_INVALID_VECTOR,
- #endif
- };
- /* Instance structure to use this module. */
- const external_irq_instance_t g_external_irq0 =
- {
- .p_ctrl = &g_external_irq0_ctrl,
- .p_cfg = &g_external_irq0_cfg,
- .p_api = &g_external_irq_on_icu
- };
- ioport_instance_ctrl_t g_ioport_ctrl;
- const ioport_instance_t g_ioport =
- {
- .p_api = &g_ioport_on_ioport,
- .p_ctrl = &g_ioport_ctrl,
- .p_cfg = &g_bsp_pin_cfg,
- };
- void g_common_init(void) {
- }
|