class pah8011 for mbed

pah8011/pah_platform_functions.h

Committer:
bell_huang
Date:
2019-01-23
Revision:
6:d196b612b14a
Parent:
5:37451de228e4

File content as of revision 6:d196b612b14a:

/*==============================================================================
* Edit History
* 
* This section contains comments describing changes made to the module. Notice
* that changes are listed in reverse chronological order. Please use ISO format
* for dates.
* 
* when       who       what, where, why
* ---------- ---       -----------------------------------------------------------
* 2016-04-29 bell      Initial revision.
==============================================================================*/

#ifndef __pah_platform_functions_h__
#define __pah_platform_functions_h__

#include <stdint.h>
#include <stdbool.h>


void    delay_ms(uint64_t ms);

typedef void (*DEBUG_PRINT_HANDLE)(const char *fmt, ...);
extern DEBUG_PRINT_HANDLE debug_printf;

#define debug_printf_1 debug_printf
#define debug_printf_2 debug_printf
#define debug_printf_3 debug_printf
#define debug_printf_4 debug_printf


#endif  // header guard