Why always to stop clock for read by SPI interface ?
Posted on May 19, 2014 at 01:48uint8_t P_LIS302_Read1Adr(uint8_t adr) { uint8_t ret_wert=0; uint8_t spi_wert; // Chip Select to Lo P_LIS302_CS( Bit_RESET);// read an address spi_wert=(adr&0x3F); spi_wert|=0x80; // 0b1000 0000 or // Send address...