|
| 1 | +/* generated common source file - do not edit */ |
| 2 | +#include "common_data.h" |
| 3 | +icu_instance_ctrl_t g_external_irq1_ctrl; |
| 4 | +const external_irq_cfg_t g_external_irq1_cfg = |
| 5 | +{ .channel = 1, |
| 6 | + .trigger = EXTERNAL_IRQ_TRIG_RISING, |
| 7 | + .filter_enable = false, |
| 8 | + .pclk_div = EXTERNAL_IRQ_PCLK_DIV_BY_64, |
| 9 | + .p_callback = NULL, |
| 10 | + /** If NULL then do not add & */ |
| 11 | +#if defined(NULL) |
| 12 | + .p_context = NULL, |
| 13 | +#else |
| 14 | + .p_context = &NULL, |
| 15 | +#endif |
| 16 | + .p_extend = NULL, |
| 17 | + .ipl = (12), |
| 18 | +#if defined(VECTOR_NUMBER_ICU_IRQ1) |
| 19 | + .irq = VECTOR_NUMBER_ICU_IRQ1, |
| 20 | +#else |
| 21 | + .irq = FSP_INVALID_VECTOR, |
| 22 | +#endif |
| 23 | + }; |
| 24 | +/* Instance structure to use this module. */ |
| 25 | +const external_irq_instance_t g_external_irq1 = |
| 26 | +{ .p_ctrl = &g_external_irq1_ctrl, .p_cfg = &g_external_irq1_cfg, .p_api = &g_external_irq_on_icu }; |
| 27 | +icu_instance_ctrl_t g_external_irq0_ctrl; |
| 28 | +const external_irq_cfg_t g_external_irq0_cfg = |
| 29 | +{ .channel = 0, |
| 30 | + .trigger = EXTERNAL_IRQ_TRIG_RISING, |
| 31 | + .filter_enable = false, |
| 32 | + .pclk_div = EXTERNAL_IRQ_PCLK_DIV_BY_64, |
| 33 | + .p_callback = NULL, |
| 34 | + /** If NULL then do not add & */ |
| 35 | +#if defined(NULL) |
| 36 | + .p_context = NULL, |
| 37 | +#else |
| 38 | + .p_context = &NULL, |
| 39 | +#endif |
| 40 | + .p_extend = NULL, |
| 41 | + .ipl = (12), |
| 42 | +#if defined(VECTOR_NUMBER_ICU_IRQ0) |
| 43 | + .irq = VECTOR_NUMBER_ICU_IRQ0, |
| 44 | +#else |
| 45 | + .irq = FSP_INVALID_VECTOR, |
| 46 | +#endif |
| 47 | + }; |
| 48 | +/* Instance structure to use this module. */ |
| 49 | +const external_irq_instance_t g_external_irq0 = |
| 50 | +{ .p_ctrl = &g_external_irq0_ctrl, .p_cfg = &g_external_irq0_cfg, .p_api = &g_external_irq_on_icu }; |
| 51 | +ioport_instance_ctrl_t g_ioport_ctrl; |
| 52 | +const ioport_instance_t g_ioport = |
| 53 | +{ .p_api = &g_ioport_on_ioport, .p_ctrl = &g_ioport_ctrl, .p_cfg = &g_bsp_pin_cfg, }; |
| 54 | +void g_common_init(void) |
| 55 | +{ |
| 56 | +} |
0 commit comments