{"id":15417094,"url":"https://github.com/mabezdev/stm32l4-pac","last_synced_at":"2025-03-18T17:25:36.944Z","repository":{"id":140619855,"uuid":"181304988","full_name":"MabezDev/stm32l4-pac","owner":"MabezDev","description":"generated with stm32","archived":false,"fork":false,"pushed_at":"2019-04-14T12:24:28.000Z","size":598,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T07:44:53.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MabezDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-14T12:23:28.000Z","updated_at":"2019-04-14T12:24:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"0400ab35-e2fa-4355-a072-fd38f9ed1496","html_url":"https://github.com/MabezDev/stm32l4-pac","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"748dc1bcc44e5334247ebeb6b902cc9681345aeb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MabezDev%2Fstm32l4-pac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MabezDev%2Fstm32l4-pac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MabezDev%2Fstm32l4-pac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MabezDev%2Fstm32l4-pac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MabezDev","download_url":"https://codeload.github.com/MabezDev/stm32l4-pac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244267598,"owners_count":20425861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:14:37.061Z","updated_at":"2025-03-18T17:25:36.924Z","avatar_url":"https://github.com/MabezDev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stm32l4\nThis crate provides an autogenerated API for access to STM32L4 peripherals.\nThe API is generated using [svd2rust] with patched svd files containing\nextensive type-safe support. For more information please see the [main repo].\n\nRefer to the [documentation] for full details.\n\n[svd2rust]: https://github.com/japaric/svd2rust\n[main repo]: https://github.com/stm32-rs/stm32-rs\n[documentation]: https://docs.rs/stm32l4/latest/stm32l4/\n\n## Usage\nEach device supported by this crate is behind a feature gate so that you only\ncompile the device(s) you want. To use, in your Cargo.toml:\n\n```toml\n[dependencies.stm32l4]\nversion = \"0.6.0\"\nfeatures = [\"stm32l4x1\", \"rt\"]\n```\n\nThe `rt` feature is optional and brings in support for `cortex-m-rt`.\n\nIn your code:\n\n```rust\nuse stm32l4::stm32l4x1;\n\nlet mut peripherals = stm32l4x1::Peripherals::take().unwrap();\nlet gpioa = \u0026peripherals.GPIOA;\ngpioa.odr.modify(|_, w| w.odr0().set_bit());\n```\n\nFor full details on the autogenerated API, please see:\nhttps://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api\n\n## Supported Devices\n\n| Module | Devices | Links |\n|:------:|:-------:|:-----:|\n| stm32l4x1 | STM32L431, STM32L451, STM32L471 | [RM0394](https://www.st.com/resource/en/reference_manual/dm00151940.pdf), [st.com](https://www.st.com/en/microcontrollers/stm32l4x1.html?) |\n| stm32l4x2 | STM32L432, STM32L442, STM32L452, STM32L462 | [RM0394](https://www.st.com/resource/en/reference_manual/dm00151940.pdf), [st.com](https://www.st.com/en/microcontrollers/stm32l4x2.html) |\n| stm32l4x3 | STM32L433, STM32L443 | [RM0394](https://www.st.com/resource/en/reference_manual/dm00151940.pdf), [st.com](https://www.st.com/en/microcontrollers/stm32l4x3.html) |\n| stm32l4x5 | STM32L475 | [RM0351](https://www.st.com/resource/en/reference_manual/dm00083560.pdf), [st.com](https://www.st.com/en/microcontrollers/stm32l4x5.html) |\n| stm32l4x6 | STM32L476, STM32L486, STM32L496, STM32L4A6 | [RM0351](https://www.st.com/resource/en/reference_manual/dm00083560.pdf), [st.com](https://www.st.com/en/microcontrollers/stm32l4x6.html) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmabezdev%2Fstm32l4-pac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmabezdev%2Fstm32l4-pac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmabezdev%2Fstm32l4-pac/lists"}