Rohm RPR0521 proximity-als-ir -sensor driver

Dependents:   rohm-rpr0521-hello rohm-tileshield-6sensor-demo rohm-SensorShield-example PMK_industrija_mikro1 ... more

Committer:
Ren Boting
Date:
Mon Feb 18 16:41:56 2019 +0900
Revision:
2:56d144605997
Parent:
0:0bcc203c5c75
fix IAR toolchain compilation failure.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MikkoZ 0:0bcc203c5c75 1 /* Copyright 2016 Rohm Semiconductor
MikkoZ 0:0bcc203c5c75 2
MikkoZ 0:0bcc203c5c75 3 Licensed under the Apache License, Version 2.0 (the "License");
MikkoZ 0:0bcc203c5c75 4 you may not use this file except in compliance with the License.
MikkoZ 0:0bcc203c5c75 5 You may obtain a copy of the License at
MikkoZ 0:0bcc203c5c75 6
MikkoZ 0:0bcc203c5c75 7 http://www.apache.org/licenses/LICENSE-2.0
MikkoZ 0:0bcc203c5c75 8
MikkoZ 0:0bcc203c5c75 9 Unless required by applicable law or agreed to in writing, software
MikkoZ 0:0bcc203c5c75 10 distributed under the License is distributed on an "AS IS" BASIS,
MikkoZ 0:0bcc203c5c75 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
MikkoZ 0:0bcc203c5c75 12 See the License for the specific language governing permissions and
MikkoZ 0:0bcc203c5c75 13 limitations under the License.
MikkoZ 0:0bcc203c5c75 14 */
MikkoZ 0:0bcc203c5c75 15 #ifndef rpr0521_driver_h
MikkoZ 0:0bcc203c5c75 16 #define rpr0521_driver_h
MikkoZ 0:0bcc203c5c75 17
MikkoZ 0:0bcc203c5c75 18 #include "../../rohm-sensor-hal/rohm-sensor-hal/rohm_hal.h" //types
MikkoZ 0:0bcc203c5c75 19
MikkoZ 0:0bcc203c5c75 20 /* rpr0521 driver*/
MikkoZ 0:0bcc203c5c75 21 uint8_t rpr0521_readId();
MikkoZ 0:0bcc203c5c75 22 void rpr0521_wait_until_found();
MikkoZ 0:0bcc203c5c75 23 void rpr0521_soft_reset();
MikkoZ 0:0bcc203c5c75 24 bool rpr0521_read_data(uint16_t* data16);
MikkoZ 0:0bcc203c5c75 25 void rpr0521_initial_setup();
MikkoZ 0:0bcc203c5c75 26 void rpr0521_clear_interrupt();
MikkoZ 0:0bcc203c5c75 27
MikkoZ 0:0bcc203c5c75 28 #endif
MikkoZ 0:0bcc203c5c75 29