MBED firmware for MAXREFDES117 Heart Rate / SpO2 sensor. Tested on KL25Z, K64F, and MAX32600MBED#
Dependencies: mbed
Diff: MAX30102/MAX30102.h
- Revision:
- 4:5273ab1085ab
- Parent:
- 3:7c0fb55eb3ff
--- a/MAX30102/MAX30102.h Thu Apr 21 19:38:17 2016 +0000 +++ b/MAX30102/MAX30102.h Thu May 19 22:04:06 2016 +0000 @@ -4,31 +4,28 @@ * Filename: max30102.h * Description: This module is an embedded controller driver header file for MAX30102 * -* Revision History: -*\n 1-18-2016 Rev 01.00 GL Initial release. -*\n * * -------------------------------------------------------------------- * * This code follows the following naming conventions: * -*\n char ch_pmod_value -*\n char (array) s_pmod_s_string[16] -*\n float f_pmod_value -*\n int32_t n_pmod_value -*\n int32_t (array) an_pmod_value[16] -*\n int16_t w_pmod_value -*\n int16_t (array) aw_pmod_value[16] -*\n uint16_t uw_pmod_value -*\n uint16_t (array) auw_pmod_value[16] -*\n uint8_t uch_pmod_value -*\n uint8_t (array) auch_pmod_buffer[16] -*\n uint32_t un_pmod_value -*\n int32_t * pn_pmod_value +* char ch_pmod_value +* char (array) s_pmod_s_string[16] +* float f_pmod_value +* int32_t n_pmod_value +* int32_t (array) an_pmod_value[16] +* int16_t w_pmod_value +* int16_t (array) aw_pmod_value[16] +* uint16_t uw_pmod_value +* uint16_t (array) auw_pmod_value[16] +* uint8_t uch_pmod_value +* uint8_t (array) auch_pmod_buffer[16] +* uint32_t un_pmod_value +* int32_t * pn_pmod_value * * ------------------------------------------------------------------------- */ /******************************************************************************* -* Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved. +* Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -91,9 +88,6 @@ #define REG_REV_ID 0xFE #define REG_PART_ID 0xFF -#define true 1 -#define false 0 - bool maxim_max30102_init(); bool maxim_max30102_read_fifo(uint32_t *pun_red_led, uint32_t *pun_ir_led); bool maxim_max30102_write_reg(uint8_t uch_addr, uint8_t uch_data);