Debian Codegraph @

ports/renesas-ra/boards/EK_RA4M1/ra_gen/hal_data.c

raw
1 #include "hal_data.h"
2 lpm_instance_ctrl_t g_lpm0_ctrl;
3
4 const lpm_cfg_t g_lpm0_cfg =
5 { .low_power_mode = LPM_MODE_SLEEP, .standby_wake_sources = LPM_STANDBY_WAKE_SOURCE_RTCALM
6 | (lpm_standby_wake_source_t)0,
7 #if BSP_FEATURE_LPM_HAS_SNOOZE
8 .snooze_cancel_sources = LPM_SNOOZE_CANCEL_SOURCE_NONE,
9 .snooze_request_source = LPM_SNOOZE_REQUEST_RXD0_FALLING,
10 .snooze_end_sources = (lpm_snooze_end_t)0,
11 .dtc_state_in_snooze = LPM_SNOOZE_DTC_DISABLE,
12 #endif
13 #if BSP_FEATURE_LPM_HAS_SBYCR_OPE
14 .output_port_enable = 0,
15 #endif
16 #if BSP_FEATURE_LPM_HAS_DEEP_STANDBY
17 .io_port_state = 0,
18 .power_supply_state = 0,
19 .deep_standby_cancel_source = (lpm_deep_standby_cancel_source_t)0,
20 .deep_standby_cancel_edge = (lpm_deep_standby_cancel_edge_t)0,
21 #endif
22 #if BSP_FEATURE_LPM_HAS_PDRAMSCR
23 .ram_retention_cfg.ram_retention = (uint8_t)(0),
24 .ram_retention_cfg.tcm_retention = false,
25 #endif
26 #if BSP_FEATURE_LPM_HAS_DPSBYCR_SRKEEP
27 .ram_retention_cfg.standby_ram_retention = false,
28 #endif
29 #if BSP_FEATURE_LPM_HAS_LDO_CONTROL
30 .ldo_standby_cfg.pll1_ldo = false,
31 .ldo_standby_cfg.pll2_ldo = false,
32 .ldo_standby_cfg.hoco_ldo = false,
33 #endif
34 .p_extend = NULL, };
35
36 const lpm_instance_t g_lpm0 =
37 { .p_api = &g_lpm_on_lpm, .p_ctrl = &g_lpm0_ctrl, .p_cfg = &g_lpm0_cfg };
38
39 flash_lp_instance_ctrl_t g_flash0_ctrl;
40 const flash_cfg_t g_flash0_cfg =
41 { .data_flash_bgo = false, .p_callback = NULL, .p_context = NULL, .ipl = (BSP_IRQ_DISABLED),
42 #if defined(VECTOR_NUMBER_FCU_FRDYI)
43 .irq = VECTOR_NUMBER_FCU_FRDYI,
44 #else
45 .irq = FSP_INVALID_VECTOR,
46 #endif
47 };
48 /* Instance structure to use this module. */
49 const flash_instance_t g_flash0 =
50 { .p_ctrl = &g_flash0_ctrl, .p_cfg = &g_flash0_cfg, .p_api = &g_flash_on_flash_lp };