Files

copied
Last update 2 years 10 months
Filesfirmwaredrivers
..
HIDClassCommon.h
HIDParser.c
HIDParser.h
HIDReportData.h
helper.c
helper.h
max3421.c
max3421.h
max3421e.h
mcp42xxx.c
mcp42xxx.h
spi.c
spi.h
sys_messagebus.c
sys_messagebus.h
timer_a0.c
timer_a0.h
uart0.c
uart0.h
usb_spec.h
timer_a0.h
#ifndef __TIMER_A0_H__ #define __TIMER_A0_H__ #ifdef __cplusplus extern "C" { #endif #include "proj.h" #define _100us 13UL #define _200us 25UL #define _1ms 125UL #define _2ms _1ms * 2 #define _4ms _1ms * 4 #define _10ms _1ms * 10 #define _100ms _1ms * 100 #define _200ms _1ms * 200 #define _500ms _1ms * 500 #define TIMER_A0_EVENT_NONE 0 #define TIMER_A0_EVENT_CCR0 0x1 #define TIMER_A0_EVENT_CCR1 0x2 #define TIMER_A0_EVENT_CCR2 0x4 #define TIMER_A0_EVENT_CCR3 0x8 #define TIMER_A0_EVENT_CCR4 0x10 #define TIMER_A0_EVENT_IFG 0x20 void timer_a0_rst_event(void); uint8_t timer_a0_get_event(void); void timer_a0_init(void); void timer_a0_halt(void); void timer_a0_delay_noblk_ccr1(uint16_t ticks); void timer_a0_delay_noblk_ccr2(uint16_t ticks); void timer_a0_delay_noblk_ccr3(uint16_t ticks); void timer_a0_delay_ccr4(uint16_t ticks); uint32_t millis(void); #ifdef __cplusplus } #endif #endif
Report a bug