`nrf9160-pac` logo

`nrf9160-pac`

Free

Peripheral access API for the nRF9160 system-in-package (generated using svd2rust) - [![crates.io](https://img.shields.io/crates/v/nrf9160-pac.svg)](https://crates.io/crates/nrf9160-pac)

FreeFree tier
Type
Open Source

About `nrf9160-pac`

nrf9160-pac is a Rust crate providing a peripheral access API (PAC) for the nRF9160 system-in-package, generated using svd2rust. It offers low-level access to the hardware registers of the nRF9160, enabling embedded development in Rust for this cellular IoT device.

Key Features

Generated using svd2rust from official SVD files
Provides safe Rust abstractions for hardware registers
Targets the nRF9160 system-in-package
Low-level peripheral access for embedded development
Part of the Rust embedded ecosystem

Pros & Cons

Pros
  • Safe and type-safe register access through Rust's ownership model
  • Directly reflects hardware documentation via SVD
  • Lightweight and dependency-free for low-level control
  • Community-maintained and part of the Rust embedded ecosystem
Cons
  • Low-level API requires detailed knowledge of nRF9160 hardware registers
  • No higher-level abstractions or driver interfaces included
  • Targets only the nRF9160, not other nRF devices

Best For

Embedded firmware development for nRF9160-based IoT devicesHardware register manipulation in RustBuilding HALs or board support crates for nRF9160Low-level system programming on Nordic Semiconductor cellular IoT platforms

FAQ

What is nrf9160-pac?
nrf9160-pac is a peripheral access API crate for the nRF9160 system-in-package, generated automatically using svd2rust from the vendor's SVD files. It allows Rust developers to access hardware registers in a safe and ergonomic way.