sdasd

Committer:
pavledjo
Date:
Thu Jul 01 15:47:03 2021 +0000
Revision:
3:83c4958e4bdc
Parent:
0:0bcc203c5c75
Promena za dva senzora;

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*/
pavledjo 3:83c4958e4bdc 21 uint8_t rpr0521_readId(int n);
pavledjo 3:83c4958e4bdc 22 void rpr0521_wait_until_found(int n);
MikkoZ 0:0bcc203c5c75 23 void rpr0521_soft_reset();
pavledjo 3:83c4958e4bdc 24 bool rpr0521_read_data(uint16_t* data16,int n);
pavledjo 3:83c4958e4bdc 25 void rpr0521_initial_setup(int n);
MikkoZ 0:0bcc203c5c75 26 void rpr0521_clear_interrupt();
MikkoZ 0:0bcc203c5c75 27
MikkoZ 0:0bcc203c5c75 28 #endif
MikkoZ 0:0bcc203c5c75 29