Searched refs:FIFO_WMRK_SIZE (Results 1 – 4 of 4) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/mpl3115/ |
D | mpl3115_fifo.c | 35 #define FIFO_WMRK_SIZE (8) /* Buffer 8 Samples. */ macro 48 {MPL3115_F_SETUP, MPL3115_F_SETUP_F_MODE_STOP_MODE | FIFO_WMRK_SIZE, 64 …{.readFrom = MPL3115_OUT_P_MSB, .numBytes = MPL3115_DATA_SIZE * FIFO_WMRK_SIZE}, __END_READ_DATA__… 78 uint8_t data[MPL3115_DATA_SIZE * FIFO_WMRK_SIZE]; in main() 157 for (uint8_t i = 0; i < FIFO_WMRK_SIZE; i++) in main() 166 PRINTF("\r\nAverage Pressure = %d Pa\r\n", pressureInPascals / FIFO_WMRK_SIZE); in main() 167 PRINTF("\r\nAverage Temperature = %d degC\r\n", tempInDegrees / FIFO_WMRK_SIZE); in main() 168 … ASK_USER_TO_RESUME(16 / FIFO_WMRK_SIZE); /* Ask for user input after processing 16 samples. */ in main()
|
D | mpl3115_fifo_interrupt.c | 39 #define FIFO_WMRK_SIZE (8) /* Buffer 8 Samples. */ macro 52 {MPL3115_F_SETUP, MPL3115_F_SETUP_F_MODE_STOP_MODE | FIFO_WMRK_SIZE, 74 …{.readFrom = MPL3115_OUT_P_MSB, .numBytes = MPL3115_DATA_SIZE * FIFO_WMRK_SIZE}, __END_READ_DATA__… 111 uint8_t data[MPL3115_DATA_SIZE * FIFO_WMRK_SIZE]; in main() 209 for (uint8_t i = 0; i < FIFO_WMRK_SIZE; i++) in main() 219 PRINTF("\r\nAverage Pressure = %d Pa\r\n", pressureInPascals / FIFO_WMRK_SIZE); in main() 220 PRINTF("\r\nAverage Temperature = %d degC\r\n", tempInDegrees / FIFO_WMRK_SIZE); in main() 221 … ASK_USER_TO_RESUME(16 / FIFO_WMRK_SIZE); /* Ask for user input after processing 16 samples. */ in main()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/fxpq3115/ |
D | fxpq3115_fifo.c | 35 #define FIFO_WMRK_SIZE (8) /* Buffer 8 Samples. */ macro 48 {FXPQ3115_F_SETUP, FXPQ3115_F_SETUP_F_MODE_STOP_MODE | FIFO_WMRK_SIZE, 64 …{.readFrom = FXPQ3115_OUT_P_MSB, .numBytes = FXPQ3115_DATA_SIZE * FIFO_WMRK_SIZE}, __END_READ_DATA… 78 uint8_t data[FXPQ3115_DATA_SIZE * FIFO_WMRK_SIZE]; in main() 157 for (uint8_t i = 0; i < FIFO_WMRK_SIZE; i++) in main() 167 PRINTF("\r\n Average Pressure = %d Pa\r\n", pressureInPascals / FIFO_WMRK_SIZE); in main() 168 PRINTF("\r\n Average Temperature = %d degC\r\n", tempInDegrees / FIFO_WMRK_SIZE); in main() 169 … ASK_USER_TO_RESUME(16 / FIFO_WMRK_SIZE); /* Ask for user input after processing 16 samples. */ in main()
|
D | fxpq3115_fifo_interrupt.c | 39 #define FIFO_WMRK_SIZE (8) /* Buffer 8 Samples. */ macro 52 {FXPQ3115_F_SETUP, FXPQ3115_F_SETUP_F_MODE_STOP_MODE | FIFO_WMRK_SIZE, 74 …{.readFrom = FXPQ3115_OUT_P_MSB, .numBytes = FXPQ3115_DATA_SIZE * FIFO_WMRK_SIZE}, __END_READ_DATA… 111 uint8_t data[FXPQ3115_DATA_SIZE * FIFO_WMRK_SIZE]; in main() 209 for (uint8_t i = 0; i < FIFO_WMRK_SIZE; i++) in main() 220 PRINTF("\r\n Average Pressure = %d Pa\r\n", pressureInPascals / FIFO_WMRK_SIZE); in main() 221 PRINTF("\r\n Average Temperature = %d degC\r\n", tempInDegrees / FIFO_WMRK_SIZE); in main() 222 … ASK_USER_TO_RESUME(16 / FIFO_WMRK_SIZE); /* Ask for user input after processing 16 samples. */ in main()
|