uint32_tusr:1;/*User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf.*/
uint32_text_hold_en:1;/*Set the bit to hold spi. The bit is combined with spi_usr_prep_hold spi_usr_cmd_hold spi_usr_addr_hold spi_usr_dummy_hold spi_usr_din_hold spi_usr_dout_hold and spi_usr_hold_pol. Can be configured in CONF state.*/
uint32_tdummy_out:1;/*In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state.*/
uint32_tclk_mode:2;/*SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state.*/
uint32_tclk_mode_13:1;/*{CPOL CPHA} 1: support spi clk mode 1 and 3 first edge output data B[0]/B[7]. 0: support spi clk mode 0 and 2 first edge output data B[1]/B[6].*/
uint32_tcs_setup_time:13;/*(cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state.*/
uint32_tcs_hold_time:13;/*delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state.*/
uint32_tcs_delay_mode:3;/*spi_cs signal is delayed by spi_clk . 0: zero 1: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by half cycle else delayed by one cycle 2: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by one cycle else delayed by half cycle 3: delayed one cycle. Can be configured in CONF state.*/
uint32_tcs_delay_num:2;/*spi_cs signal is delayed by system clock cycles. Can be configured in CONF state.*/
uint32_tclkcnt_l:6;/*In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state.*/
uint32_tclkcnt_h:6;/*In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state.*/
uint32_tclkcnt_n:6;/*In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state.*/
uint32_tclkdiv_pre:13;/*In the master mode it is pre-divider of spi_clk. Can be configured in CONF state.*/
uint32_tclk_equ_sysclk:1;/*In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state.*/
uint32_tck_out_edge:1;/*the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state.*/
uint32_trd_byte_order:1;/*In read-data (MISO) phase 1: big-endian 0: little_endian. Can be configured in CONF state.*/
uint32_twr_byte_order:1;/*In command address write-data (MOSI) phases 1: big-endian 0: litte_endian. Can be configured in CONF state.*/
uint32_tfwrite_dual:1;/*In the write operations read-data phase apply 2 signals. Can be configured in CONF state.*/
uint32_tfwrite_quad:1;/*In the write operations read-data phase apply 4 signals. Can be configured in CONF state.*/
uint32_tfwrite_oct:1;/*In the write operations read-data phase apply 8 signals. Can be configured in CONF state.*/
uint32_tusr_conf_nxt:1;/*1: Enable the DMA CONF phase of next seg-trans operation which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state.*/
uint32_tsio:1;/*Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tusr_hold_pol:1;/*It is combined with hold bits to set the polarity of spi hold line 1: spi will be held when spi hold line is high 0: spi will be held when spi hold line is low. Can be configured in CONF state.*/
uint32_tusr_dout_hold:1;/*spi is hold at data out state the bit are combined with spi_usr_hold_pol bit. Can be configured in CONF state.*/
uint32_tusr_din_hold:1;/*spi is hold at data in state the bit are combined with spi_usr_hold_pol bit. Can be configured in CONF state.*/
uint32_tusr_dummy_hold:1;/*spi is hold at dummy state the bit are combined with spi_usr_hold_pol bit. Can be configured in CONF state.*/
uint32_tusr_addr_hold:1;/*spi is hold at address state the bit are combined with spi_usr_hold_pol bit. Can be configured in CONF state.*/
uint32_tusr_cmd_hold:1;/*spi is hold at command state the bit are combined with spi_usr_hold_pol bit. Can be configured in CONF state.*/
uint32_tusr_prep_hold:1;/*spi is hold at prepare state the bit are combined with spi_usr_hold_pol bit. Can be configured in CONF state.*/
uint32_tusr_miso_highpart:1;/*read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tusr_mosi_highpart:1;/*write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tusr_dummy_idle:1;/*spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state.*/
uint32_tusr_mosi:1;/*This bit enable the write-data phase of an operation. Can be configured in CONF state.*/
uint32_tusr_miso:1;/*This bit enable the read-data phase of an operation. Can be configured in CONF state.*/
uint32_tusr_dummy:1;/*This bit enable the dummy phase of an operation. Can be configured in CONF state.*/
uint32_tusr_addr:1;/*This bit enable the address phase of an operation. Can be configured in CONF state.*/
uint32_tusr_command:1;/*This bit enable the command phase of an operation. Can be configured in CONF state.*/
uint32_tusr_dummy_cyclelen:8;/*The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state.*/
uint32_tcs4_dis:1;/*SPI CS4 pin enable 1: disable CS4 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state.*/
uint32_tcs5_dis:1;/*SPI CS5 pin enable 1: disable CS5 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state.*/
uint32_tck_dis:1;/*1: spi clk out disable 0: spi clk out enable. Can be configured in CONF state.*/
uint32_tmaster_cs_pol:6;/*In the master mode the bits are the polarity of spi cs line the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state.*/
uint32_treserved13:3;/*reserved*/
uint32_tclk_data_dtr_en:1;/*1: SPI master DTR mode is applied to SPI clk data and spi_dqs*/
uint32_tdata_dtr_en:1;/*1: SPI clk and data of SPI_DOUT and SPI_DIN state are in DTR mode including master 1/2/4/8-bm. Can be configured in CONF state.*/
uint32_taddr_dtr_en:1;/*1: SPI clk and data of SPI_SEND_ADDR state are in DTR mode including master 1/2/4/8-bm. Can be configured in CONF state.*/
uint32_tcmd_dtr_en:1;/*1: SPI clk and data of SPI_SEND_CMD state are in DTR mode including master 1/2/4/8-bm. Can be configured in CONF state.*/
uint32_tcd_data_set:1;/*1: spi_cd = !spi_cd_idle_edge when spi_st[3:0] is in SPI_DOUT or SPI_DIN state. 0: spi_cd = spi_cd_idle_edge. Can be configured in CONF state.*/
uint32_tcd_dummy_set:1;/*1: spi_cd = !spi_cd_idle_edge when spi_st[3:0] is in SPI_DUMMY state. 0: spi_cd = spi_cd_idle_edge. Can be configured in CONF state.*/
uint32_tcd_addr_set:1;/*1: spi_cd = !spi_cd_idle_edge when spi_st[3:0] is in SPI_SEND_ADDR state. 0: spi_cd = spi_cd_idle_edge. Can be configured in CONF state.*/
uint32_tslave_cs_pol:1;/*spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state.*/
uint32_tdqs_idle_edge:1;/*The default value of spi_dqs. Can be configured in CONF state.*/
uint32_tcd_cmd_set:1;/*1: spi_cd = !spi_cd_idle_edge when spi_st[3:0] is in SPI_SEND_CMD state. 0: spi_cd = spi_cd_idle_edge. Can be configured in CONF state.*/
uint32_tcd_idle_edge:1;/*The default value of spi_cd. Can be configured in CONF state.*/
uint32_ttrans_done:1;/*The interrupt raw bit for the completion of any operation in both the master mode and the slave mode. Can not be changed by CONF_buf.*/
uint32_tint_rd_buf_done_en:1;/*spi_slv_rd_buf Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tint_wr_buf_done_en:1;/*spi_slv_wr_buf Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tint_rd_dma_done_en:1;/*spi_slv_rd_dma Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tint_wr_dma_done_en:1;/*spi_slv_wr_dma Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tint_trans_done_en:1;/*spi_trans_done Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tint_dma_seg_trans_en:1;/*spi_dma_seg_trans_done Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.*/
uint32_tseg_magic_err_int_en:1;/*1: Enable seg magic value error interrupt. 0: Others. Can be configured in CONF state.*/
uint32_treserved12:11;/*reserved*/
uint32_ttrans_cnt:4;/*The operations counter in both the master mode and the slave mode.*/
uint32_treserved27:1;/*reserved*/
uint32_treserved28:1;/*reserved*/
uint32_ttrans_done_auto_clr_en:1;/*spi_trans_done auto clear enable clear it 3 apb cycles after the pos edge of spi_trans_done. 0:disable. 1: enable. Can be configured in CONF state.*/
uint32_tslave_mode:1;/*Set SPI work mode. 1: slave mode 0: master mode.*/
uint32_tsoft_reset:1;/*Software reset enable reset the spi clock line cs line and data lines. Can be configured in CONF state.*/
uint32_taddr_err:1;/*1: The address value of the last SPI transfer is not supported by SPI slave. 0: The address value is supported or no address value is received.*/
uint32_tcmd_err:1;/*1: The command value of the last SPI transfer is not supported by SPI slave. 0: The command value is supported or no command value is received.*/
uint32_twr_dma_done:1;/*The interrupt raw bit for the completion of dma write operation in the slave mode. Can not be changed by CONF_buf.*/
uint32_tlast_command:8;/*In the slave mode it is the value of command.*/
uint32_tlast_addr:8;/*In the slave mode it is the value of address.*/
uint32_twr_buf_done:1;/*The interrupt raw bit for the completion of write-buffer operation in the slave mode. Can not be changed by CONF_buf.*/
uint32_tconf_base_bitlen:7;/*The basic spi_clk cycles of CONF state. The real cycle length of CONF state if spi_usr_conf is enabled is spi_conf_base_bitlen[6:0] + spi_conf_bitlen[23:0].*/
uint32_tdata_bytelen:20;/*The full-duplex or half-duplex data byte length of the last SPI transfer in slave mode. In half-duplex mode this value is controlled by bits [23:20].*/
uint32_trddma_bytelen_en:1;/*1: spi_slv_data_bytelen stores data byte length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others*/
uint32_twrdma_bytelen_en:1;/*1: spi_slv_data_bytelen stores data byte length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others*/
uint32_trdbuf_bytelen_en:1;/*1: spi_slv_data_bytelen stores data byte length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others*/
uint32_twrbuf_bytelen_en:1;/*1: spi_slv_data_bytelen stores data byte length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others*/
uint32_tdma_seg_magic_value:4;/*The magic value of BM table in master DMA seg-trans.*/
uint32_treserved28:2;/*reserved*/
uint32_trd_dma_done:1;/*The interrupt raw bit for the completion of Rd-DMA operation in the slave mode. Can not be changed by CONF_buf.*/
uint32_tusr_conf:1;/*1: Enable the DMA CONF phase of current seg-trans operation which means seg-trans will start. 0: This is not seg-trans mode.*/
uint32_tst:4;/*The status of spi state machine. 0: idle state 1: preparation state 2: send command state 3: send data state 4: red data state 5:write data state 6: wait state 7: done state.*/
uint32_tmst_dma_rd_bytelen:20;/*Define the master DMA read byte length in non seg-trans or seg-trans mode. Invalid when spi_rx_eof_en is 0. Can be configured in CONF state..*/
uint32_tint_hold_ena:2;/*This register is for two SPI masters to share the same cs clock and data signals. The bits of one SPI are set if the other SPI is busy the SPI will be hold. 1(3): hold at idle phase 2: hold at prepare phase. Can be configured in CONF state.*/
uint32_thold_val:1;/*spi hold output value which should be used with spi_hold_out_en. Can be configured in CONF state.*/
uint32_thold_out_en:1;/*Enable set spi output hold value to spi_hold_reg. It can be used to hold spi state machine with spi_ext_hold_en and other usr hold signals. Can be configured in CONF state.*/
uint32_thold_out_time:3;/*set the hold cycles of output spi_hold signal when spi_hold_out_en is enable. Can be configured in CONF state.*/
uint32_tdma_seg_trans_done:1;/*1: spi master DMA full-duplex/half-duplex seg-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-trans is not ended or not occurred. Can not be changed by CONF_buf.*/
uint32_tdma_seg_trans_en:1;/*Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable.*/
uint32_trx_seg_trans_clr_en:1;/*1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done.*/
uint32_ttx_seg_trans_clr_en:1;/*1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done.*/
uint32_trx_eof_en:1;/*1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen[19:0] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans.*/
uint32_tinfifo_full_clr:1;/*1:Clear spi_dma_infifo_full_vld. 0: Do not control it.*/
uint32_toutfifo_empty_clr:1;/*1:Clear spi_dma_outfifo_empty_vld. 0: Do not control it.*/
uint32_tinlink_dscr_empty:1;/*The raw bit for lack of enough inlink descriptors. Can be configured in CONF state.*/
uint32_toutlink_dscr_error:1;/*The raw bit for outlink descriptor error. Can be configured in CONF state.*/
uint32_tinlink_dscr_error:1;/*The raw bit for inlink descriptor error. Can be configured in CONF state.*/
uint32_tin_done:1;/*The raw bit for completing usage of a inlink descriptor. Can be configured in CONF state.*/
uint32_tin_err_eof:1;/*The raw bit for receiving error. Can be configured in CONF state.*/
uint32_tin_suc_eof:1;/*The raw bit for completing receiving all the packets from host. Can be configured in CONF state.*/
uint32_tout_done:1;/*The raw bit for completing usage of a outlink descriptor. Can be configured in CONF state.*/
uint32_tout_eof:1;/*The raw bit for sending a packet to host done. Can be configured in CONF state.*/
uint32_tout_total_eof:1;/*The raw bit for sending all the packets to host done. Can be configured in CONF state.*/
uint32_tinfifo_full_err:1;/*1:spi_dma_infifo_full and spi_push_data_prep are valid which means that DMA Rx buffer is full but push is valid. 0: Others. Can not be changed by CONF_buf.*/
uint32_toutfifo_empty_err:1;/*1:spi_dma_outfifo_empty and spi_pop_data_prep are valid which means that there is no data to pop but pop is valid. 0: Others. Can not be changed by CONF_buf.*/
uint32_tcmd6:1;/*The raw bit for SPI slave CMD6 interrupt.*/
uint32_tcmd7:1;/*The raw bit for SPI slave CMD7 interrupt.*/
uint32_tcmd8:1;/*The raw bit for SPI slave CMD8 interrupt.*/
uint32_tcmd9:1;/*The raw bit for SPI slave CMD9 interrupt.*/
uint32_tcmda:1;/*The raw bit for SPI slave CMDA interrupt.*/
uint32_tdin0_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin1_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin2_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin3_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin4_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin5_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin6_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_tdin7_mode:3;/*the input signals are delayed by system clock cycles 0: input without delayed 1: input with the posedge of clk_apb 2 input with the negedge of clk_apb 3: input with the spi_clk. Can be configured in CONF state.*/
uint32_ttiming_clk_ena:1;/*1:enable hclk in spi_timing.v. 0: disable it. Can be configured in CONF state.*/
uint32_tdin0_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin1_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin2_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin3_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin4_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin5_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin6_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdin7_num:2;/*the input signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout0_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout1_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout2_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout3_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout4_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout5_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout6_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout7_mode:3;/*the output signals are delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tdout0_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout1_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout2_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout3_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout4_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout5_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout6_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_tdout7_num:2;/*the output signals are delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_td_dqs_mode:3;/*the output spi_dqs is delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_td_cd_mode:3;/*the output spi_cd is delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_td_de_mode:3;/*the output spi_de is delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_td_hsync_mode:3;/*the output spi_hsync is delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_td_vsync_mode:3;/*the output spi_vsync is delayed by system clock cycles 0: output without delayed 1: output with the posedge of clk_apb 2 output with the negedge of clk_apb 3: output with the spi_clk. Can be configured in CONF state.*/
uint32_tde_idle_pol:1;/*It is the idle value of spi_de.*/
uint32_ths_blank_en:1;/*1: The pulse of spi_hsync is out in vertical blanking lines in seg-trans or one trans. 0: spi_hsync pulse is valid only in active region lines in seg-trans.*/
uint32_td_dqs_num:2;/*the output spi_dqs is delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_td_cd_num:2;/*the output spi_cd is delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_td_de_num:2;/*the output spi_de is delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_td_hsync_num:2;/*the output spi_hsync is delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/
uint32_td_vsync_num:2;/*the output spi_vsync is delayed by system clock cycles 0: delayed by 1 cycle 1: delayed by 2 cycles ... Can be configured in CONF state.*/