Home
last modified time | relevance | path

Searched refs:p_regs (Results 1 – 8 of 8) sorted by relevance

/hal_renesas-latest/drivers/ra/fsp/src/r_spi_b/
Dr_spi_b.c170 p_ctrl->p_regs = SPI_B_REG(p_ctrl->p_cfg->channel); in R_SPI_B_Open()
343 p_ctrl->p_regs->SPCR_b.SPE = 0U; in R_SPI_B_Close()
346 p_ctrl->p_regs->SPSRC = SPI_B_PRV_SPSRC_ALL_CLEAR; in R_SPI_B_Close()
613 p_ctrl->p_regs->SPSRC = SPI_B_PRV_SPSRC_ALL_CLEAR; in r_spi_b_hw_config()
616 p_ctrl->p_regs->SPCR3 = spcr3; in r_spi_b_hw_config()
617 p_ctrl->p_regs->SPDECR = spdecr; in r_spi_b_hw_config()
618 p_ctrl->p_regs->SPCR2 = spcr2; in r_spi_b_hw_config()
619 p_ctrl->p_regs->SPCMD0 = spcmd0; in r_spi_b_hw_config()
620 p_ctrl->p_regs->SPDCR = spdcr; in r_spi_b_hw_config()
623 p_ctrl->p_regs->SPCR = spcr & ~R_SPI_B0_SPCR_MSTR_Msk; in r_spi_b_hw_config()
[all …]
/hal_renesas-latest/drivers/rz/fsp/src/rzg/r_rspi/
Dr_rspi.c353 p_ctrl->p_regs->SPCR_b.SPE = 0U; in R_RSPI_Close()
358 p_ctrl->p_regs->SPSR; in R_RSPI_Close()
359 p_ctrl->p_regs->SPSR = 0; in R_RSPI_Close()
453 void * p_spdr = (void *) &(p_ctrl->p_regs->SPDR); in r_rspi_transfer_config()
498 … p_ctrl->p_regs = (R_RSPI0_Type *) ((ptrdiff_t) R_RSPI0 + (size_of_regs * p_ctrl->p_cfg->channel)); in r_rspi_init_control_structure()
525 p_ctrl->p_regs->SPCR = (uint8_t) spcr; in r_rspi_hw_config()
608 … p_ctrl->p_regs->SPBFCR = (uint8_t) (spbfcr | R_RSPI0_SPBFCR_RXRST_Msk | R_RSPI0_SPBFCR_TXRST_Msk); in r_rspi_hw_config()
611 p_ctrl->p_regs->SPSR; in r_rspi_hw_config()
612 p_ctrl->p_regs->SPSR = 0; in r_rspi_hw_config()
615 p_ctrl->p_regs->SSLP = (uint8_t) sslp; in r_rspi_hw_config()
[all …]
/hal_renesas-latest/drivers/ra/fsp/src/r_spi/
Dr_spi.c206 p_ctrl->p_regs = SPI_REG(p_ctrl->p_cfg->channel); in R_SPI_Open()
387 p_ctrl->p_regs->SPCR_b.SPE = 0U; in R_SPI_Close()
393 p_ctrl->p_regs->SPSR; in R_SPI_Close()
394 p_ctrl->p_regs->SPSR = 0; in R_SPI_Close()
656 p_ctrl->p_regs->SPSR; in r_spi_hw_config()
657 p_ctrl->p_regs->SPSR = 0; in r_spi_hw_config()
660 p_ctrl->p_regs->SPCR = (uint8_t) spcr; in r_spi_hw_config()
661 p_ctrl->p_regs->SSLP = (uint8_t) sslp; in r_spi_hw_config()
662 p_ctrl->p_regs->SPPCR = (uint8_t) sppcr; in r_spi_hw_config()
663 p_ctrl->p_regs->SPBR = p_extend->spck_div.spbr; in r_spi_hw_config()
[all …]
/hal_renesas-latest/drivers/rz/fsp/src/rzg/r_mhu_ns/
Dr_mhu_ns.c99 p_instance_ctrl->p_regs = (R_MHU0_Type *) (R_MHU_NS0_BASE + in R_MHU_NS_Open()
363 } while (0 != p_instance_ctrl->p_regs->MSG_INT_STSn); in r_mhu_ns_set_send_data()
369 p_instance_ctrl->p_regs->MSG_INT_SETn = 1; in r_mhu_ns_set_send_data()
377 } while (0 != p_instance_ctrl->p_regs->RSP_INT_STSn); in r_mhu_ns_set_send_data()
383 p_instance_ctrl->p_regs->RSP_INT_SETn = 1; in r_mhu_ns_set_send_data()
448 …((MHU_SEND_TYPE_RSP == p_instance_ctrl->send_type) && (0 != p_instance_ctrl->p_regs->MSG_INT_STSn)… in R_MHU_NS_IsrSub()
449 …((MHU_SEND_TYPE_MSG == p_instance_ctrl->send_type) && (0 != p_instance_ctrl->p_regs->RSP_INT_STSn)… in R_MHU_NS_IsrSub()
457 p_instance_ctrl->p_regs->MSG_INT_CLRn = 1; in R_MHU_NS_IsrSub()
461 p_instance_ctrl->p_regs->RSP_INT_CLRn = 1; in R_MHU_NS_IsrSub()
/hal_renesas-latest/drivers/rz/fsp/inc/instances/rzg/
Dr_mhu_ns.h37 R_MHU0_Type * p_regs; ///< Base register for this channel member
Dr_rspi.h115 R_RSPI0_Type * p_regs; ///< Base register for this channel member
/hal_renesas-latest/drivers/ra/fsp/inc/instances/
Dr_spi.h125 R_SPI0_Type * p_regs; ///< Base register for this channel member
Dr_spi_b.h133 R_SPI_B0_Type * p_regs; ///< Base register for this channel member