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.
20 lines
395 B
20 lines
395 B
#pragma once
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include <stdint.h>
|
|
|
|
#include "chip.h"
|
|
|
|
void chip_delay_init(TIM_HandleTypeDef *htim);
|
|
void chip_delay_us(uint32_t n);
|
|
void chip_delay_ms(uint32_t n);
|
|
void ifly_delay_ms(uint32_t n);
|
|
|
|
uint32_t chip_get_ticket();
|
|
uint32_t haspassedms(uint32_t ticket);
|
|
uint32_t haspassedms2(uint32_t lastticket, uint32_t nowticket);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|