- Notifications
You must be signed in to change notification settings - Fork3
Peripheral Access Crate for the nRF9160 microcontroller
License
nrf-rs/nrf9160-pac
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
MOVED! This repository has been moved tohttps://github.com/nrf-rs/nrf-pacs.
This crate is a Peripheral Access Crate (or PAC) for the nRF9160 generated usingsvd2rustand the officialSVD file. A Peripheral Access Crate contains low-level register defintions.
For most purposes, you want theHAL instead.
To regenerate the crate, first make sure thatsvd2rust andform areinstalled and up-to-date. Putnrf9160.svd into the repo directory and run:
# Fixupsed -i's/read-writeonce/read-writeOnce/' nrf9160.svd# Generatesvd2rust -i nrf9160.svdform -i lib.rs -o srccargo fmt# Clean uprm lib.rs
Note that some things in the generated Rust code might need to be fixed manuallyafter these steps.
About
Peripheral Access Crate for the nRF9160 microcontroller
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.