ChipTest/PAN159/PAN159-Template/Library/StdDriver/driver/lib_driver_delay_pan159.c

19 lines
585 B
C
Raw Normal View History

2021-09-26 09:18:47 +00:00
/*******************************************************************************
* @note Copyright (C) 2017 Shanghai Panchip Microelectronics Co., Ltd.
* All rights reserved.
*
* @file lib_driver_delay_pan159.c
* @brief PAN159 delay
*
* @history - V1.0, 2017-09-12, xiaoguolin, first implementation.
*******************************************************************************/
#include "lib_driver_delay_pan159.h"
__ASM void __delay_pan159(uint32_t cycle)
{
__delay_pan159_loop
SUBS r0,r0,#1
BCS __delay_pan159_loop
BX lr
}