Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
/nrf9160-pacPublic archive

Peripheral Access Crate for the nRF9160 microcontroller

License

NotificationsYou must be signed in to change notification settings

nrf-rs/nrf9160-pac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOVED! This repository has been moved tohttps://github.com/nrf-rs/nrf-pacs.

nrf9160-pac

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.

Regenerating

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

Stars

Watchers

Forks

Packages

No packages published

Contributors5

Languages


[8]ページ先頭

©2009-2025 Movatter.jp