| Electronic Components Datasheet Search |
|
AN4505 Datasheet(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4505 Datasheet(HTML) 39 Page - STMicroelectronics |
|
39 / 43 page ![]() DocID026441 Rev 1 39/43 AN4505 First-in first-out (FIFO) buffer 43 Figure 23. Bypass-to-Stream mode Bypass-to-Stream can be used in order to start the acquisition when the configured interrupt is generated. 6.4 Watermark The watermark is a configurable flag that can be used to generate a specific interrupt in order to know when the FIFO buffer contains at least the number of samples defined as the watermark level. The user can select the desired level in a range from 0 to 31 using the WTM[4:0] field in the FIFO control register while the FIFO source register FSS[4:0] always contains the number of samples stored in FIFO. If FSS[4:0] is greater than WTM[4:0], the WTM bit is set high in the FIFO source register, on the contrary, WTM is driven low when the FSS[4:0] field becomes lower than WTM[4:0]. FSS[4:0] increases by one step at the ODR frequency and decreases by one step every time that a sample set reading is performed by the user. Figure 24. Watermark behavior - WTM[4:0] = 10 (hex) In Figure 24, the first row indicates the WTM[4:0] value, the second row indicates the relative FIFO slot and last row shows the incremental FIFO data. Assuming WTM[4:0] = 10 (hex), the WTM flag changes from “0” to “1” when the eleventh FIFO slot is filled (F10). Figure 25 shows that the WTM flag goes low when the FIFO content is less than WTM[4:0], which means that nine unread sample sets remain in FIFO. The watermark flag (WTM) can be enabled to generate a dedicated interrupt on the DRDY/INT2 pin by setting the I2_WTM bit high in CTRL_REG3. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |