You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
496 B

/*
* Copyright (c) Hisilicon Technologies Co., Ltd. 2014-2020. All rights reserved.
* Description: delay
* Author: SmartMedia_BSP
* Create: 2014-06-04
*/
#ifndef DELAYH
#define DELAYH
unsigned int get_timer_value(void);
unsigned int get_ticks(void);
unsigned int get_ms_ticks(void);
unsigned int sys_now(void);
void udelay(unsigned int usec);
void mdelay(unsigned int msec);
unsigned int do_gettime(unsigned long *sec, unsigned short *msec, unsigned short *usec);
#endif /* DELAYH */