/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_timer.h | 33 #define __US_TO_TICKS(us) hal_sys_timer_us_to_ticks(us) argument 45 #define __US_TO_TICKS(us) (((us) * ((uint32_t)CONFIG_SYSTICK_HZ / 1000) + 1000 - 1) / 100… 68 #define US_TO_TICKS(us) __US_TO_TICKS(us) argument 76 #define US_TO_HWTICKS(us) __US_TO_TICKS(us) argument 100 void hal_sys_timer_delay_us(uint32_t us); 120 uint32_t hal_sys_timer_us_to_ticks(uint32_t us); 135 #define US_TO_FAST_TICKS(us) ((uint32_t)(us) * (CONFIG_FAST_SYSTICK_HZ / 1000 / 100) / 10) argument
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/minizip/ |
A D | unzip.c | 588 unz64_s us; in unzOpenInternal() local 616 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal() 631 if (ZSEEK64(us.z_filefunc, us.filestream, in unzOpenInternal() 660 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK) in unzOpenInternal() 673 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK) in unzOpenInternal() 678 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK) in unzOpenInternal() 691 if (ZSEEK64(us.z_filefunc, us.filestream, in unzOpenInternal() 734 if (unz64local_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK) in unzOpenInternal() 738 if ((central_pos<us.offset_central_dir+us.size_central_dir) && in unzOpenInternal() 744 ZCLOSE64(us.z_filefunc, us.filestream); in unzOpenInternal() [all …]
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | unzip.c | 382 unz_s us; variable 404 us.filestream = (*(us.z_filefunc.zopen_file))(us.z_filefunc.opaque, 415 if (ZSEEK(us.z_filefunc, us.filestream, 432 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &us.gi.number_entry) != UNZ_OK) 445 if (unzlocal_getLong(&us.z_filefunc, us.filestream, &us.size_central_dir) != UNZ_OK) 450 if (unzlocal_getLong(&us.z_filefunc, us.filestream, &us.offset_central_dir) != UNZ_OK) 454 if (unzlocal_getShort(&us.z_filefunc, us.filestream, &us.gi.size_comment) != UNZ_OK) 457 if ((central_pos < us.offset_central_dir + us.size_central_dir) && 462 ZCLOSE(us.z_filefunc, us.filestream); 471 us.num_file = 0; [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | wait_api.c | 20 extern void DelayUs(unsigned int us); 32 void wait_us(int us) in wait_us() argument 34 DelayUs(us); in wait_us()
|
A D | pwmout_api.c | 280 void pwmout_period_us(pwmout_t* obj, int us) in pwmout_period_us() argument 284 u32 tmp = us * 40 / (prescaler + 1); in pwmout_period_us() 287 prescaler = us * 40 / 0x10000; in pwmout_period_us() 291 obj->period = us; in pwmout_period_us() 292 arr = us * 40 / (prescaler + 1) - 1; in pwmout_period_us() 326 void pwmout_pulsewidth_us(pwmout_t* obj, int us) in pwmout_pulsewidth_us() argument 330 obj->pulse = (float)us; in pwmout_pulsewidth_us()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | utime_mphal.c | 59 mp_int_t us = mp_obj_get_int(arg); in time_sleep_us() local 60 if (us > 0) { in time_sleep_us() 61 mp_hal_delay_us(us); in time_sleep_us()
|
A D | machine_pulse.c | 59 mp_uint_t us = machine_time_pulse_us(pin, level, timeout_us); in machine_time_pulse_us_() local 61 return mp_obj_new_int(us); in machine_time_pulse_us_()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal/ |
A D | pwmout_api.h | 101 void pwmout_period_us(pwmout_t* obj, int us); 125 void pwmout_pulsewidth_us(pwmout_t* obj, int us);
|
/AliOS-Things-master/components/posix/src/ |
A D | time.c | 138 int usleep(useconds_t us) in usleep() argument 141 .tv_sec = us / 1000000, in usleep() 142 .tv_nsec = (us % 1000000) * 1000 in usleep()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/ |
A D | sntp_opts.h | 146 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while(0) argument
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/ |
A D | sntp_opts.h | 146 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while(0) argument
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | mphalport.h | 40 #define mp_hal_delay_us_fast(us) mp_hal_delay_us(us) argument
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | mphalport.h | 35 #define mp_hal_delay_us_fast(us) mp_hal_delay_us(us) argument
|
A D | mphalport.c | 106 void mp_hal_delay_us(mp_uint_t us) { in mp_hal_delay_us() argument 108 mp_uint_t ms = (us < 1000) ? 1 : (us + 600) / 1000; in mp_hal_delay_us()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | hw.c | 22 #define us2tick(us) \ argument 23 ((us * RHINO_CONFIG_TICKS_PER_SECOND + 999999) / 1000000)
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | mphalport.h | 35 #define mp_hal_delay_us_fast(us) mp_hal_delay_us(us) argument
|
A D | mphalport.c | 106 void mp_hal_delay_us(mp_uint_t us) { in mp_hal_delay_us() argument 108 mp_uint_t ms = (us < 1000) ? 1 : (us + 600) / 1000; in mp_hal_delay_us()
|
/AliOS-Things-master/hardware/chip/rtl872xd/aos/ |
A D | aos_osdep.c | 368 static void _aos_usleep_os(int us) in _aos_usleep_os() argument 372 WLAN_BSP_UsLoop(us); in _aos_usleep_os() 376 DelayUs(us); in _aos_usleep_os() 378 DelayUs(us); in _aos_usleep_os() 403 static void _aos_udelay_os(int us) in _aos_udelay_os() argument 407 WLAN_BSP_UsLoop(us); in _aos_udelay_os() 409 HalDelayUs(us); in _aos_udelay_os() 411 DelayUs(us); in _aos_udelay_os() 413 DelayUs(us); in _aos_udelay_os()
|
/AliOS-Things-master/solutions/flower_demo/ |
A D | README.md | 44 主机发开始信号:低电平大于18ms,高电平20-40us; 45 DHT11的响应信号:低电平80us,高电平80us; 58 数字‘0’信号:低电平50us,高电平26-28us 64 数字‘1’信号:低电平50us,高电平70us
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/api/ |
A D | wait_api.h | 60 void wait_us(int us);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/ |
A D | rtl8721d_delay.h | 64 _LONG_CALL_ void DelayUs(u32 us);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sntp/ |
A D | sntp.c | 84 #define SNTP_SET_SYSTEM_TIME_US(sec, us) argument 221 u32_t us = lwip_ntohl(receive_timestamp[1]) / 4295; in sntp_process() local 222 SNTP_SET_SYSTEM_TIME_US(t, us); in sntp_process() 224 LWIP_DEBUGF(SNTP_DEBUG_TRACE, ("sntp_process: %s, %"U32_F" us", ctime(&tim), us)); in sntp_process()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | README | 41 https://itunes.apple.com/us/album/the-living-proof/id4153978 47 Thanks to Will for permitting us to distribute this sample with SDL!
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/lib/x64/ |
A D | LICENSE.jpeg.txt | 11 please let us know!) 12 2. You can use this software for whatever you want. You don't have to pay us. 43 acknowledge us.
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/lib/x86/ |
A D | LICENSE.jpeg.txt | 11 please let us know!) 12 2. You can use this software for whatever you want. You don't have to pay us. 43 acknowledge us.
|