Home
last modified time | relevance | path

Searched refs:sampling_cycle (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/adc/example/
A Dadc_example.c28 int sampling_cycle = 100; in vfs_adc_test() local
39 ret = ioctl(fd, IOC_ADC_START, sampling_cycle); in vfs_adc_test()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/homepage/
A Dhomepage.c45 int sampling_cycle = 100; in get_battery() local
53 ret = ioctl(fd, IOC_ADC_START, sampling_cycle); in get_battery()
A Dhomepage.md139 ret = ioctl(fd, IOC_ADC_START, sampling_cycle);
/AliOS-Things-master/components/SDL2/src/joystick/alios/
A DSDL_sysjoystick.c157 roll_x.config.sampling_cycle = 100; in AliOS_JoystickUpdate()
160 roll_y.config.sampling_cycle = 100; in AliOS_JoystickUpdate()
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_adc.c15 printf("[%s] sampling_cycle = %d \r\n", __FUNCTION__, adc->config.sampling_cycle); in aos_hal_adc_init()
/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_adc.h26 uint32_t sampling_cycle; /**< sampling period in number of ADC clock cycles */ member
/AliOS-Things-master/components/drivers/peripheral/adc/include/aos/hal/
A Dadc.h26 uint32_t sampling_cycle; /**< sampling period in number of ADC clock cycles */ member
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dadc.c29 if (adc->config.sampling_cycle) { in hal_adc_init()
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/
A Daos_hal_adc.c41 ret = ioctl(*p_fd, IOC_ADC_START, adc->config.sampling_cycle); in aos_hal_adc_init()
/AliOS-Things-master/components/drivers/peripheral/adc/src/
A Dadc_dev.c55 adc_dev->config.sampling_cycle = arg; in adc_device_ioctl()
/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c584 adc_device->config.sampling_cycle = 12000000; in board_set_adc_default()
615 config->sampling_cycle = temp->valueint; in board_parse_adc()
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c801 adc_device->config.sampling_cycle = 12000000; in board_set_adc_default()
837 config->sampling_cycle = temp->valueint; in board_parse_adc()

Completed in 17 milliseconds