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.
Dependencies: aconno_I2C Lis2dh12 WatchdogTimer
NRF52_SAADC Class Reference
NRF52 adc library. More...
#include <acd_nrf52_saadc.h>
Public Member Functions | |
| NRF52_SAADC () | |
| Initializes adc module. | |
| bool | addChannel (uint8_t pin) |
| void | updateData () |
| Reads analog pins. | |
| int16_t * | getData () |
Detailed Description
NRF52 adc library.
Definition at line 16 of file acd_nrf52_saadc.h.
Constructor & Destructor Documentation
| NRF52_SAADC | ( | ) |
Initializes adc module.
Definition at line 5 of file acd_nrf52_saadc.cpp.
Member Function Documentation
| bool addChannel | ( | uint8_t | pin ) |
- Returns:
- 0 on success, 1 otherwise
Definition at line 31 of file acd_nrf52_saadc.cpp.
| int16_t* getData | ( | ) |
- Returns:
- pointer to analog input data - data is stored in channel add order
Definition at line 33 of file acd_nrf52_saadc.h.
| void updateData | ( | ) |
Reads analog pins.
Definition at line 16 of file acd_nrf52_saadc.cpp.
Generated on Sat Jul 16 2022 03:03:28 by
1.7.2