diff options
| author | Ulf Lilleengen <[email protected]> | 2021-10-18 15:24:31 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2021-10-19 07:18:56 +0200 |
| commit | 2ef4a45fa0e153cb6435c4dc52f19108ca808cc7 (patch) | |
| tree | 8681889a127109a49d592b2857232c18e64645a6 /embassy-nrf/src/lib.rs | |
| parent | 729b17bc25fed42b4348cae0fb3d781590572c3f (diff) | |
Add support for temperature sensor peripheral
* Add TEMP peripheral to all nRF52 chips
* Add async HAL for reading temperature values
* Add example application reading temperature values
Diffstat (limited to 'embassy-nrf/src/lib.rs')
| -rw-r--r-- | embassy-nrf/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 00c719a17..120df99d5 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -43,6 +43,8 @@ pub mod timer; | |||
| 43 | pub mod twim; | 43 | pub mod twim; |
| 44 | pub mod uarte; | 44 | pub mod uarte; |
| 45 | pub mod wdt; | 45 | pub mod wdt; |
| 46 | #[cfg(not(feature = "nrf9160"))] | ||
| 47 | pub mod temp; | ||
| 46 | 48 | ||
| 47 | // This mod MUST go last, so that it sees all the `impl_foo!` macros | 49 | // This mod MUST go last, so that it sees all the `impl_foo!` macros |
| 48 | #[cfg(feature = "nrf52805")] | 50 | #[cfg(feature = "nrf52805")] |
