
32-bit MCU Current Sensing Board Design Guide
4. Software Structure
17
2.
To receive ADC 32-bit data consecutively, the level state of the SDO is read by using the GPIO
external interrupt at Positive Edge (see the above example code in Figure 12).
3.
When spi_data fills up the 32-bit length, BIT 4 to BIT 27 that are corresponding to the 24-bit
ADC data is converted to 24-bit data by bit masking.