sdasd
rohm-rpr0521/rpr0521_driver.h@0:0bcc203c5c75, 2016-09-12 (annotated)
- Committer:
- MikkoZ
- Date:
- Mon Sep 12 09:53:15 2016 +0000
- Revision:
- 0:0bcc203c5c75
- Child:
- 3:83c4958e4bdc
Rohm rpr0521 driver library
Who changed what in which revision?
User | Revision | Line number | New 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 |