| 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 = 2, |
| 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_IRQ2) |
| 19 |
.irq = VECTOR_NUMBER_ICU_IRQ2, |
| 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 |
sce_instance_ctrl_t sce_ctrl; |
| 28 |
const sce_cfg_t sce_cfg = |
| 29 |
{ .lifecycle = SCE_SSD }; |
| 30 |
#if SCE_USER_SHA_384_ENABLED |
| 31 |
uint32_t SCE_USER_SHA_384_FUNCTION(uint8_t *message, uint8_t *digest, uint32_t message_length); |
| 32 |
#endif |
| 33 |
icu_instance_ctrl_t g_external_irq0_ctrl; |
| 34 |
const external_irq_cfg_t g_external_irq0_cfg = |
| 35 |
{ .channel = 0, |
| 36 |
.trigger = EXTERNAL_IRQ_TRIG_RISING, |
| 37 |
.filter_enable = false, |
| 38 |
.pclk_div = EXTERNAL_IRQ_PCLK_DIV_BY_64, |
| 39 |
.p_callback = NULL, |
| 40 |
/** If NULL then do not add & */ |
| 41 |
#if defined(NULL) |
| 42 |
.p_context = NULL, |
| 43 |
#else |
| 44 |
.p_context = &NULL, |
| 45 |
#endif |
| 46 |
.p_extend = NULL, |
| 47 |
.ipl = (12), |
| 48 |
#if defined(VECTOR_NUMBER_ICU_IRQ0) |
| 49 |
.irq = VECTOR_NUMBER_ICU_IRQ0, |
| 50 |
#else |
| 51 |
.irq = FSP_INVALID_VECTOR, |
| 52 |
#endif |
| 53 |
}; |
| 54 |
/* Instance structure to use this module. */ |
| 55 |
const external_irq_instance_t g_external_irq0 = |
| 56 |
{ .p_ctrl = &g_external_irq0_ctrl, .p_cfg = &g_external_irq0_cfg, .p_api = &g_external_irq_on_icu }; |
| 57 |
ioport_instance_ctrl_t g_ioport_ctrl; |
| 58 |
const ioport_instance_t g_ioport = |
| 59 |
{ .p_api = &g_ioport_on_ioport, .p_ctrl = &g_ioport_ctrl, .p_cfg = &g_bsp_pin_cfg, }; |
| 60 |
void g_common_init(void) { |
| 61 |
} |