diff options
| author | i509VCB <[email protected]> | 2025-10-25 02:23:51 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-25 02:23:51 +0000 |
| commit | c8c4c6f40bd8a2e548f3c8e06b798d448f67b884 (patch) | |
| tree | f0c7c2462234d04a951c7f0376a98206b24abacd /embassy-nxp/src/lib.rs | |
| parent | 4bff7cea1a26267ec3671250e954d9d4242fabde (diff) | |
| parent | 5ed604fc0453066f0d0cf0c161823df5f4b7900f (diff) | |
Merge pull request #4738 from WyliodrinEmbeddedIoT/pwm-dev
lpc55: pwm simple
Diffstat (limited to 'embassy-nxp/src/lib.rs')
| -rw-r--r-- | embassy-nxp/src/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/embassy-nxp/src/lib.rs b/embassy-nxp/src/lib.rs index 9576f02b1..4058881a5 100644 --- a/embassy-nxp/src/lib.rs +++ b/embassy-nxp/src/lib.rs | |||
| @@ -10,6 +10,8 @@ pub mod gpio; | |||
| 10 | #[cfg(feature = "lpc55-core0")] | 10 | #[cfg(feature = "lpc55-core0")] |
| 11 | pub mod pint; | 11 | pub mod pint; |
| 12 | #[cfg(feature = "lpc55-core0")] | 12 | #[cfg(feature = "lpc55-core0")] |
| 13 | pub mod pwm; | ||
| 14 | #[cfg(feature = "lpc55-core0")] | ||
| 13 | pub mod usart; | 15 | pub mod usart; |
| 14 | 16 | ||
| 15 | #[cfg(feature = "_time_driver")] | 17 | #[cfg(feature = "_time_driver")] |
| @@ -154,7 +156,10 @@ pub fn init(_config: config::Config) -> Peripherals { | |||
| 154 | gpio::init(); | 156 | gpio::init(); |
| 155 | 157 | ||
| 156 | #[cfg(feature = "lpc55-core0")] | 158 | #[cfg(feature = "lpc55-core0")] |
| 157 | pint::init(); | 159 | { |
| 160 | pint::init(); | ||
| 161 | pwm::Pwm::reset(); | ||
| 162 | } | ||
| 158 | 163 | ||
| 159 | #[cfg(feature = "_time_driver")] | 164 | #[cfg(feature = "_time_driver")] |
| 160 | time_driver::init(); | 165 | time_driver::init(); |
