| поискавой системы для электроныых деталей |
|
AN4504 датащи(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4504 датащи(HTML) 30 Page - STMicroelectronics |
|
30 / 41 page ![]() First-in first-out (FIFO) buffer AN4504 30/41 DocID026419 Rev 1 6.2.3 FIFO source register (0x2F) This register is updated at every ODR and provides information about the FIFO buffer status. WTM bit is set high when FIFO content exceeds watermark level. OVRN bit is set high when FIFO buffer is full, this means that the FIFO buffer contains 32 unread samples. At the following ODR a new sample set replaces the oldest FIFO value. The OVRN bit is reset when the first sample set has been read. EMPTY flag is set high when all FIFO samples have been read and FIFO is empty. FSS[4:0] field always contains the current number of unread samples stored in the FIFO buffer. When FIFO is enabled, this value increases at ODR frequency until the buffer is full, whereas it decreases every time that one sample set is retrieved from FIFO. Register content is updated synchronous to the FIFO write and read operation. The watermark flag, the FIFO overrun and FIFO empty events can be enabled to generate a dedicated interrupt on the DRDY/INT2 pin by configuring CTRL_REG3. I2_WTM bit drives the watermark flag (WTM) on the DRDY/INT2 pin. I2_OVRN bit drives the overrun event (OVRN) on the DRDY/INT2Y pin. I2_Empty bit drives the empty event (EMPTY) on the DRDY/INT2 pin If one or more bits are set to “1”, the DRDY/INT2 pin status is the logical OR combination of the three signals. Table 30. FIFO_SRC_REG b7 b6 b5 b4 b3 b2 b1 b0 WTM OVRN EMPTY FSS4 FSS3 FSS2 FSS1 FSS0 Table 31. FIFO_SRC_REG behavior assuming WTM[4:0] = 15 (hex) WTM OVRN EMPTY FSS[4:0] Unread FIFO samples Timing 0 0 1 00000 0 t0 0 0 0 00001 1 t0 + 1/ODR 0 0 0 00010 2 t0 + 2/ODR ... ... ... ... ... ... 0 0 0 01111 15 t0 + 15/ODR 1 0 0 10000 16 t0 + 16/ODR ... ... ... ... ... ... 1 0 0 11110 30 t0 + 30/ODR 1 0 0 11111 31 t0 + 31/ODR 1 1 0 11111 32 t0 + 32/ODR Table 32. CTRL_REG3 (0x22) b7 b6 b5 b4 b3 b2 b1 b0 X X X X X I2_WTM I2_ORun I2_Empty |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |