Home
last modified time | relevance | path

Searched refs:event_num (Results 1 – 3 of 3) sorted by relevance

/hal_renesas-latest/drivers/rz/fsp/src/rzn/r_ioport/
Dr_ioport.c1168 uint8_t event_num; in r_ioport_event_config() local
1188 for (event_num = 0U; event_num < IOPORT_SINGLE_PORT_NUM; event_num++) in r_ioport_event_config()
1191 …(uint8_t) ((ex_cfg->single_port_cfg[event_num].port_num & IOPORT_PRV_PORT_BITS) >> IOPORT_PRV_PORT… in r_ioport_event_config()
1192 … uint8_t pin_num = (uint8_t) ex_cfg->single_port_cfg[event_num].port_num & IOPORT_PRV_PIN_BITS; in r_ioport_event_config()
1194 temp_value = p_ioport_regs->ELC_PEL[event_num] & IOPORT_ELC_PEL_MASK; in r_ioport_event_config()
1214 if (IOPORT_EVENT_DIRECTION_INPUT == ex_cfg->single_port_cfg[event_num].direction) in r_ioport_event_config()
1216 …temp_value |= (uint8_t) (ex_cfg->single_port_cfg[event_num].edge_detection << 5); // Edge detection in r_ioport_event_config()
1219 p_ioport_regs->ELC_DPTC |= (uint8_t) (1U << event_num); in r_ioport_event_config()
1223 … temp_value |= (uint8_t) (ex_cfg->single_port_cfg[event_num].operation << 5); // Output operation in r_ioport_event_config()
1227 p_ioport_regs->ELC_PEL[event_num] = temp_value; in r_ioport_event_config()
[all …]
/hal_renesas-latest/drivers/rz/fsp/src/rzg/r_ioport/
Dr_ioport.c1192 uint8_t event_num; in r_ioport_event_config()
1207 for (event_num = 0U; event_num < BSP_FEATURE_IOPORT_SINGLE_PORT_NUM; event_num++) in r_ioport_event_config()
1210 (uint8_t) ((ex_cfg->p_single_port_cfg[event_num].port_num & IOPORT_PRV_PORT_BITS) >> in r_ioport_event_config()
1212 … uint8_t pin_num = (uint8_t) ex_cfg->p_single_port_cfg[event_num].port_num & IOPORT_PRV_PIN_BITS; in r_ioport_event_config()
1214 temp_value = p_ioport_regs->ELC_PEL[event_num] & IOPORT_PRV_ELC_PEL_MASK; in r_ioport_event_config()
1234 if (IOPORT_EVENT_DIRECTION_INPUT == ex_cfg->p_single_port_cfg[event_num].direction) in r_ioport_event_config()
1236 …temp_value |= (uint8_t) (ex_cfg->p_single_port_cfg[event_num].edge_detection << R_GPIO_ELC_PEL_PSM… in r_ioport_event_config()
1239 p_ioport_regs->ELC_DPTC |= (uint8_t) (1U << event_num); in r_ioport_event_config()
1243 …temp_value |= (uint8_t) (ex_cfg->p_single_port_cfg[event_num].operation << R_GPIO_ELC_PEL_PSM_Pos)… in r_ioport_event_config()
1247 p_ioport_regs->ELC_PEL[event_num] = temp_value; in r_ioport_event_config()
[all …]
/hal_renesas-latest/drivers/ra/fsp/inc/api/
Dr_elc_api.h115 fsp_err_t (* softwareEventGenerate)(elc_ctrl_t * const p_ctrl, elc_software_event_t event_num);