1*c894dca1SMatthias Ringwald /******************************************************************************* 2*c894dca1SMatthias Ringwald * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. 3*c894dca1SMatthias Ringwald * Author: Ismail H. Kose <[email protected]> 4*c894dca1SMatthias Ringwald * 5*c894dca1SMatthias Ringwald * Permission is hereby granted, free of charge, to any person obtaining a 6*c894dca1SMatthias Ringwald * copy of this software and associated documentation files (the "Software"), 7*c894dca1SMatthias Ringwald * to deal in the Software without restriction, including without limitation 8*c894dca1SMatthias Ringwald * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9*c894dca1SMatthias Ringwald * and/or sell copies of the Software, and to permit persons to whom the 10*c894dca1SMatthias Ringwald * Software is furnished to do so, subject to the following conditions: 11*c894dca1SMatthias Ringwald * 12*c894dca1SMatthias Ringwald * The above copyright notice and this permission notice shall be included 13*c894dca1SMatthias Ringwald * in all copies or substantial portions of the Software. 14*c894dca1SMatthias Ringwald * 15*c894dca1SMatthias Ringwald * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 16*c894dca1SMatthias Ringwald * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17*c894dca1SMatthias Ringwald * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18*c894dca1SMatthias Ringwald * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES 19*c894dca1SMatthias Ringwald * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 20*c894dca1SMatthias Ringwald * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 21*c894dca1SMatthias Ringwald * OTHER DEALINGS IN THE SOFTWARE. 22*c894dca1SMatthias Ringwald * 23*c894dca1SMatthias Ringwald * Except as contained in this notice, the name of Maxim Integrated 24*c894dca1SMatthias Ringwald * Products, Inc. shall not be used except as stated in the Maxim Integrated 25*c894dca1SMatthias Ringwald * Products, Inc. Branding Policy. 26*c894dca1SMatthias Ringwald * 27*c894dca1SMatthias Ringwald * The mere transfer of this software does not imply any licenses 28*c894dca1SMatthias Ringwald * of trade secrets, proprietary technology, copyrights, patents, 29*c894dca1SMatthias Ringwald * trademarks, maskwork rights, or any other form of intellectual 30*c894dca1SMatthias Ringwald * property whatsoever. Maxim Integrated Products, Inc. retains all 31*c894dca1SMatthias Ringwald * ownership rights. 32*c894dca1SMatthias Ringwald ******************************************************************************* 33*c894dca1SMatthias Ringwald */ 34*c894dca1SMatthias Ringwald 35*c894dca1SMatthias Ringwald #ifndef MAX32630FTHR_HAL_TICK_H_ 36*c894dca1SMatthias Ringwald #define MAX32630FTHR_HAL_TICK_H_ 37*c894dca1SMatthias Ringwald #include <stdint.h> 38*c894dca1SMatthias Ringwald void hal_delay_us(unsigned int us); 39*c894dca1SMatthias Ringwald void hal_delay_ms(unsigned int ms); 40*c894dca1SMatthias Ringwald uint32_t hal_time_ms(void); 41*c894dca1SMatthias Ringwald uint32_t hal_get_time_ms(void); 42*c894dca1SMatthias Ringwald uint64_t hal_get_tick(void); 43*c894dca1SMatthias Ringwald int32_t hal_tick_init(void); 44*c894dca1SMatthias Ringwald #endif /* MAX32630FTHR_HAL_TICK_H_ */ 45