问答

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

21ic问答首页 - TAG - M0518
  • m0518,spi怎么连外设

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

    spi M0518 TE AD WRITE

    2584浏览量 3回复量 关注量
  • m0518,spi怎么连外设 sos

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

    spi M0518 TE AD WRITE

    3906浏览量 0回复量 关注量