| 전자부품 데이터시트 검색엔진 |
|
UM0851 데이터시트(PDF) 189 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 데이터시트(HTML) 189 Page - STMicroelectronics |
|
189 / 245 page ![]() UM0851 Human interface device (HID) drivers Doc ID 16604 Rev 2 189/245 be stored. Type of data is unsigned int. Count: can be greater than one only for channel zero where dma transfers are possible. For all other channels it must be equal to one otherwise error is returned. */ On success zero is returned, otherwise negative standard kernel errors are returned. Get ADC configuration Use the following calls to get the configuration of the ADC device: User level: ioctl (fd, ADCIOC_GET_CONFIG, &config); On success zero is returned otherwise -1 is returned and errno is set appropriately. Kernel level: spear_adc_get_configure(dev, ADC_CHANNEL0, config); On success zero is returned, otherwise negative standard kernel errors are returned. In the function calls, config is instance of the previously defined struct adc_config. Get ADC channel configuration Use the following calls to get the configuration of any ADC channel: User level: ioctl (fd, ADCIOC_GET_CHAN_CONFIG, &chan_config); On success, zero is returned otherwise -1 is returned and errno is set appropriately. Kernel level: spear_adc_get_chan_configure(dev, chan_config); On success, zero is returned otherwise negative standard kernel errors are returned. In the function calls, chan_config is an instance of the previously defined struct adc_chan_config. Close / put channel The channel must be freed after you have finished using it to convert data for the moment. This is done using the following call: User level: close(fd); On success, zero is returned otherwise -1 is returned and errno is set appropriately. Kernel level: spear_adc_chan_put(dev, ADC_CHANNEL0); On success, zero is returned otherwise negative standard kernel errors are returned. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |