Debian Codegraph @

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

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