Home
last modified time | relevance | path

Searched refs:port_num (Results 1 – 4 of 4) sorted by relevance

/hal_renesas-latest/drivers/rz/fsp/src/rzn/r_ioport/
Dr_ioport.c306 uint32_t port_num = (IOPORT_PRV_PORT_BITS & (ioport_size_t) port) >> IOPORT_PRV_PORT_OFFSET; in R_IOPORT_PortRead() local
309 if (port_num > BSP_FEATURE_IOPORT_SELECTABLE_PORT_MAX) in R_IOPORT_PortRead()
312 *p_port_value = (ioport_size_t) R_PORT_NSR->PIN[port_num]; in R_IOPORT_PortRead()
320 ioport_size_t rselp_value = (ioport_size_t) R_PORT_SRS->RSELP[port_num]; in R_IOPORT_PortRead()
322 ioport_size_t rselp_value = (ioport_size_t) R_PTADR->RSELP[port_num]; in R_IOPORT_PortRead()
329 nsafe_value = (ioport_size_t) (p_ioport_regs->PIN[port_num] & rselp_value); in R_IOPORT_PortRead()
335 safe_value = (ioport_size_t) (p_ioport_regs->PIN[port_num] & ~(rselp_value)); in R_IOPORT_PortRead()
380 uint32_t port_num = (IOPORT_PRV_PORT_BITS & (ioport_size_t) port) >> IOPORT_PRV_PORT_OFFSET; in R_IOPORT_PortWrite() local
383 if (port_num > BSP_FEATURE_IOPORT_SELECTABLE_PORT_MAX) in R_IOPORT_PortWrite()
386 temp_value = (ioport_size_t) (R_PORT_NSR->P[port_num] & (~mask)); in R_IOPORT_PortWrite()
[all …]
/hal_renesas-latest/drivers/rz/fsp/src/rzg/r_ioport/
Dr_ioport.c551 uint32_t port_num = (IOPORT_PRV_PORT_BITS & (ioport_size_t) pin); in R_IOPORT_PinEventInputRead()
558 if (BSP_FEATURE_IOPORT_GROUP1_PORT == port_num) in R_IOPORT_PinEventInputRead()
562 else if (BSP_FEATURE_IOPORT_GROUP2_PORT == port_num) in R_IOPORT_PinEventInputRead()
701 if ((bsp_io_port_pin_t) elc_cfg->p_single_port_cfg[cnt].port_num == pin) in R_IOPORT_PinEventOutputWrite()
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()
/hal_renesas-latest/drivers/rz/fsp/inc/instances/rzn/
Dr_ioport.h113 uint16_t port_num; ///< Port number specified to single port member
/hal_renesas-latest/drivers/rz/fsp/inc/instances/rzg/
Dr_ioport.h240 uint16_t port_num; ///< Port number specified to single port member