Lines Matching refs:initstruct

668 static inline void qspi_fill_init_struct(nrfx_qspi_config_t *initstruct)  in qspi_fill_init_struct()  argument
671 initstruct->xip_offset = 0; in qspi_fill_init_struct()
674 initstruct->skip_gpio_cfg = true, in qspi_fill_init_struct()
675 initstruct->skip_psel_cfg = true, in qspi_fill_init_struct()
678 initstruct->pins.sck_pin = QSPI_IF_BUS_SCK_PIN; in qspi_fill_init_struct()
679 initstruct->pins.csn_pin = QSPI_IF_BUS_CSN_PIN; in qspi_fill_init_struct()
680 initstruct->pins.io0_pin = QSPI_IF_BUS_IO0_PIN; in qspi_fill_init_struct()
681 initstruct->pins.io1_pin = QSPI_IF_BUS_IO1_PIN; in qspi_fill_init_struct()
683 initstruct->pins.io2_pin = QSPI_IF_BUS_IO2_PIN; in qspi_fill_init_struct()
684 initstruct->pins.io3_pin = QSPI_IF_BUS_IO3_PIN; in qspi_fill_init_struct()
686 initstruct->pins.io2_pin = NRF_QSPI_PIN_NOT_CONNECTED; in qspi_fill_init_struct()
687 initstruct->pins.io3_pin = NRF_QSPI_PIN_NOT_CONNECTED; in qspi_fill_init_struct()
691 initstruct->prot_if.addrmode = NRF_QSPI_ADDRMODE_24BIT; in qspi_fill_init_struct()
693 initstruct->prot_if.dpmconfig = false; in qspi_fill_init_struct()
696 initstruct->phy_if.sck_freq = INST_0_SCK_CFG; in qspi_fill_init_struct()
702 initstruct->phy_if.sck_delay = QSPI_IF_DEVICE_RX_DELAY; in qspi_fill_init_struct()
703 initstruct->phy_if.spi_mode = qspi_get_mode(QSPI_IF_DEVICE_CPOL, QSPI_IF_DEVICE_CPHA); in qspi_fill_init_struct()
706 initstruct->prot_if.readoc = NRF_QSPI_READOC_READ4IO; in qspi_fill_init_struct()
707 initstruct->prot_if.writeoc = NRF_QSPI_WRITEOC_PP4IO; in qspi_fill_init_struct()
709 initstruct->prot_if.readoc = NRF_QSPI_READOC_FASTREAD; in qspi_fill_init_struct()
710 initstruct->prot_if.writeoc = NRF_QSPI_WRITEOC_PP; in qspi_fill_init_struct()
713 initstruct->phy_if.dpmen = false; in qspi_fill_init_struct()