поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

FXLS8471Q датащи(PDF) 11 Page - Freescale Semiconductor, Inc

номер детали FXLS8471Q
подробное описание детали  Linear Accelerometer
PDF  75 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  FREESCALE [Freescale Semiconductor, Inc]
домашняя страница  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

FXLS8471Q датащи(HTML) 11 Page - Freescale Semiconductor, Inc

Back Button FXLS8471Q Datasheet HTML 7Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 8Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 9Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 10Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 11Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 12Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 13Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 14Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 15Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 75 page
background image
FXLS8471Q
Sensors
Freescale Semiconductor, Inc.
11
{
return (I2C_ERROR);
}
// normal return
return (I2C_OK);
}
3.5
FXLS8471Q Data Read function
This function performs a block read of the status and acceleration data and places the bytes read into the structures of type
SRAWDATA as signed short integers.
Example 6.
// read status and the three channels of accelerometer data from
// FXLS8471Q (7 bytes)
int16_t ReadAccel(SRAWDATA *pAccelData)
{
MQX_FILE_PTR fp;
// I2C file pointer
uint8_t Buffer[FXLS8471Q_READ_LEN];
// read buffer
// read FXLS8471Q_READ_LEN=7 bytes (status byte and the three channels of data)
if (s_i2c_read_regs(fp, FXLS8471Q_SLAVE_ADDR, FXLS8471Q_STATUS, Buffer,
FXLS8471Q_READ_LEN) == FXLS8471Q_READ_LEN)
{
// copy the 14 bit accelerometer byte data into 16 bit words
pAccelData->x = ((Buffer[1] << 8) | Buffer[2])>> 2;
pAccelData->y = ((Buffer[3] << 8) | Buffer[4])>> 2;
pAccelData->z = ((Buffer[5] << 8) | Buffer[6])>> 2;
}
else
{
// return with error
return (I2C_ERROR);
}
// normal return
return (I2C_OK);
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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