Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: rohm-rpr0521-hello rohm-tileshield-6sensor-demo rohm-SensorShield-example PMK_industrija_mikro1 ... more
rpr0521_driver.h
00001 /* Copyright 2016 Rohm Semiconductor 00002 00003 Licensed under the Apache License, Version 2.0 (the "License"); 00004 you may not use this file except in compliance with the License. 00005 You may obtain a copy of the License at 00006 00007 http://www.apache.org/licenses/LICENSE-2.0 00008 00009 Unless required by applicable law or agreed to in writing, software 00010 distributed under the License is distributed on an "AS IS" BASIS, 00011 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00012 See the License for the specific language governing permissions and 00013 limitations under the License. 00014 */ 00015 #ifndef rpr0521_driver_h 00016 #define rpr0521_driver_h 00017 00018 #include "../../rohm-sensor-hal/rohm-sensor-hal/rohm_hal.h" //types 00019 00020 /* rpr0521 driver*/ 00021 uint8_t rpr0521_readId(); 00022 void rpr0521_wait_until_found(); 00023 void rpr0521_soft_reset(); 00024 bool rpr0521_read_data(uint16_t* data16); 00025 void rpr0521_initial_setup(); 00026 void rpr0521_clear_interrupt(); 00027 00028 #endif 00029
Generated on Wed Jul 13 2022 05:46:23 by
1.7.2
Rohm RPR-0521RS | Light & Proximity Sensor