问答

汇集网友智慧,解决技术难题

zjx6938

TA的家园币:47  

  • m0518,spi怎么连外设

    求救大佬,新唐m0518,spi怎么读写一个字节,我这样不行,u1_thwspi_ReadWriteByte(u1_tTxData){uint8_tData=0;SPI_WRITE_TX(SPI0,TxData);while(SPI_IS_BUSY(SPI0));SPI_TRIGGER(SPI0);Data=SPI_READ_RX(SPI0);returnData;}

    spi M0518 TE AD WRITE

    2020-12-22 3
  • m0518,spi怎么连外设

    求救大佬,新唐m0518,spi怎么读写一个字节,我这样不行,u1_thwspi_ReadWriteByte(u1_tTxData){uint8_tData=0;SPI_WRITE_TX(SPI0,TxData);while(SPI_IS_BUSY(SPI0));SPI_TRIGGER(SPI0);Data=SPI_READ_RX(SPI0);returnData;}

    spi M0518 TE AD WRITE

    2020-12-22 0