class pah8011 for mbed

Committer:
bell_huang
Date:
Wed Jan 23 08:01:57 2019 +0000
Revision:
6:d196b612b14a
Parent:
5:37451de228e4
Remove mbed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bell_huang 3:0b9497a4b249 1 /*==============================================================================
bell_huang 3:0b9497a4b249 2 * Edit History
bell_huang 3:0b9497a4b249 3 *
bell_huang 3:0b9497a4b249 4 * This section contains comments describing changes made to the module. Notice
bell_huang 3:0b9497a4b249 5 * that changes are listed in reverse chronological order. Please use ISO format
bell_huang 3:0b9497a4b249 6 * for dates.
bell_huang 3:0b9497a4b249 7 *
bell_huang 3:0b9497a4b249 8 * when who what, where, why
bell_huang 3:0b9497a4b249 9 * ---------- --- -----------------------------------------------------------
bell_huang 3:0b9497a4b249 10 * 2016-04-29 bell Initial revision.
bell_huang 3:0b9497a4b249 11 ==============================================================================*/
bell_huang 3:0b9497a4b249 12
bell_huang 3:0b9497a4b249 13 #ifndef __pah_platform_functions_h__
bell_huang 3:0b9497a4b249 14 #define __pah_platform_functions_h__
bell_huang 5:37451de228e4 15
bell_huang 5:37451de228e4 16 #include <stdint.h>
bell_huang 5:37451de228e4 17 #include <stdbool.h>
bell_huang 5:37451de228e4 18
bell_huang 3:0b9497a4b249 19
bell_huang 5:37451de228e4 20 void delay_ms(uint64_t ms);
bell_huang 3:0b9497a4b249 21
bell_huang 5:37451de228e4 22 typedef void (*DEBUG_PRINT_HANDLE)(const char *fmt, ...);
bell_huang 5:37451de228e4 23 extern DEBUG_PRINT_HANDLE debug_printf;
bell_huang 5:37451de228e4 24
bell_huang 3:0b9497a4b249 25 #define debug_printf_1 debug_printf
bell_huang 3:0b9497a4b249 26 #define debug_printf_2 debug_printf
bell_huang 3:0b9497a4b249 27 #define debug_printf_3 debug_printf
bell_huang 3:0b9497a4b249 28 #define debug_printf_4 debug_printf
bell_huang 3:0b9497a4b249 29
bell_huang 3:0b9497a4b249 30
bell_huang 3:0b9497a4b249 31 #endif // header guard