Add functions for managing source state #43
Annotations
6 errors
cargo clippy:
src/asynchronous/internal/mod.rs#L274
[clippy] reported by reviewdog 🐶
error[E0433]: failed to resolve: could not find `VbusSwConfig` in `registers`
--> src/asynchronous/internal/mod.rs:274:24
|
274 | registers::VbusSwConfig::Source
| ^^^^^^^^^^^^ could not find `VbusSwConfig` in `registers`
Raw Output:
src/asynchronous/internal/mod.rs:274:24:e:error[E0433]: failed to resolve: could not find `VbusSwConfig` in `registers`
--> src/asynchronous/internal/mod.rs:274:24
|
274 | registers::VbusSwConfig::Source
| ^^^^^^^^^^^^ could not find `VbusSwConfig` in `registers`
__END__
|
cargo clippy:
src/asynchronous/internal/mod.rs#L276
[clippy] reported by reviewdog 🐶
error[E0433]: failed to resolve: could not find `VbusSwConfig` in `registers`
--> src/asynchronous/internal/mod.rs:276:24
|
276 | registers::VbusSwConfig::Disabled
| ^^^^^^^^^^^^ could not find `VbusSwConfig` in `registers`
Raw Output:
src/asynchronous/internal/mod.rs:276:24:e:error[E0433]: failed to resolve: could not find `VbusSwConfig` in `registers`
--> src/asynchronous/internal/mod.rs:276:24
|
276 | registers::VbusSwConfig::Disabled
| ^^^^^^^^^^^^ could not find `VbusSwConfig` in `registers`
__END__
|
cargo clippy:
src/asynchronous/internal/mod.rs#L247
[clippy] reported by reviewdog 🐶
error[E0412]: cannot find type `SystemConfig` in module `registers::field_sets`
--> src/asynchronous/internal/mod.rs:247:80
|
247 | pub async fn get_system_config(&mut self) -> Result<registers::field_sets::SystemConfig, Error<B::Error>> {
| ^^^^^^^^^^^^ not found in `registers::field_sets`
Raw Output:
src/asynchronous/internal/mod.rs:247:80:e:error[E0412]: cannot find type `SystemConfig` in module `registers::field_sets`
--> src/asynchronous/internal/mod.rs:247:80
|
247 | pub async fn get_system_config(&mut self) -> Result<registers::field_sets::SystemConfig, Error<B::Error>> {
| ^^^^^^^^^^^^ not found in `registers::field_sets`
__END__
|
cargo clippy:
src/asynchronous/internal/mod.rs#L259
[clippy] reported by reviewdog 🐶
error[E0412]: cannot find type `SystemConfig` in module `registers::field_sets`
--> src/asynchronous/internal/mod.rs:259:40
|
259 | config: registers::field_sets::SystemConfig,
| ^^^^^^^^^^^^ not found in `registers::field_sets`
Raw Output:
src/asynchronous/internal/mod.rs:259:40:e:error[E0412]: cannot find type `SystemConfig` in module `registers::field_sets`
--> src/asynchronous/internal/mod.rs:259:40
|
259 | config: registers::field_sets::SystemConfig,
| ^^^^^^^^^^^^ not found in `registers::field_sets`
__END__
|
cargo clippy:
src/asynchronous/internal/mod.rs#L249
[clippy] reported by reviewdog 🐶
error[E0599]: no method named `system_config` found for struct `registers::Registers` in the current scope
--> src/asynchronous/internal/mod.rs:251:14
|
249 | / self.borrow_port(PORT0)?
250 | | .into_registers()
251 | | .system_config()
| | -^^^^^^^^^^^^^ method not found in `Registers<Port<'_, B>>`
| |_____________|
|
|
::: src/lib.rs:30:5
|
30 | / device_driver::create_device!(
31 | | device_name: Registers,
32 | | manifest: "device.yaml"
33 | | );
| |_____- method `system_config` not found for this struct
Raw Output:
src/asynchronous/internal/mod.rs:249:9:e:error[E0599]: no method named `system_config` found for struct `registers::Registers` in the current scope
--> src/asynchronous/internal/mod.rs:251:14
|
249 | / self.borrow_port(PORT0)?
250 | | .into_registers()
251 | | .system_config()
| | -^^^^^^^^^^^^^ method not found in `Registers<Port<'_, B>>`
| |_____________|
|
|
::: src/lib.rs:30:5
|
30 | / device_driver::create_device!(
31 | | device_name: Registers,
32 | | manifest: "device.yaml"
33 | | );
| |_____- method `system_config` not found for this struct
__END__
|
cargo clippy:
src/asynchronous/internal/mod.rs#L262
[clippy] reported by reviewdog 🐶
error[E0599]: no method named `system_config` found for struct `registers::Registers` in the current scope
--> src/asynchronous/internal/mod.rs:264:14
|
262 | / self.borrow_port(PORT0)?
263 | | .into_registers()
264 | | .system_config()
| | -^^^^^^^^^^^^^ method not found in `Registers<Port<'_, B>>`
| |_____________|
|
|
::: src/lib.rs:30:5
|
30 | / device_driver::create_device!(
31 | | device_name: Registers,
32 | | manifest: "device.yaml"
33 | | );
| |_____- method `system_config` not found for this struct
Raw Output:
src/asynchronous/internal/mod.rs:262:9:e:error[E0599]: no method named `system_config` found for struct `registers::Registers` in the current scope
--> src/asynchronous/internal/mod.rs:264:14
|
262 | / self.borrow_port(PORT0)?
263 | | .into_registers()
264 | | .system_config()
| | -^^^^^^^^^^^^^ method not found in `Registers<Port<'_, B>>`
| |_____________|
|
|
::: src/lib.rs:30:5
|
30 | / device_driver::create_device!(
31 | | device_name: Registers,
32 | | manifest: "device.yaml"
33 | | );
| |_____- method `system_config` not found for this struct
__END__
|
Loading