aboutsummaryrefslogtreecommitdiff
path: root/cyw43/src/runner.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2023-12-19 16:08:06 +0100
committerUlf Lilleengen <[email protected]>2023-12-19 16:08:06 +0100
commit39c166ef9b754c5caa44ef4dd4a4e216078dbcea (patch)
treecece1955c41b80d92bd8056cc265a91cf3d0cf79 /cyw43/src/runner.rs
parent5e76c8b41a05c89652a6c53061107482adc4125f (diff)
docs: document public apis for cyw43 driver
Diffstat (limited to 'cyw43/src/runner.rs')
-rw-r--r--cyw43/src/runner.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cyw43/src/runner.rs b/cyw43/src/runner.rs
index 83aee6b40..b2a9e3e80 100644
--- a/cyw43/src/runner.rs
+++ b/cyw43/src/runner.rs
@@ -34,6 +34,7 @@ impl Default for LogState {
34 } 34 }
35} 35}
36 36
37/// Driver communicating with the WiFi chip.
37pub struct Runner<'a, PWR, SPI> { 38pub struct Runner<'a, PWR, SPI> {
38 ch: ch::Runner<'a, MTU>, 39 ch: ch::Runner<'a, MTU>,
39 bus: Bus<PWR, SPI>, 40 bus: Bus<PWR, SPI>,
@@ -222,6 +223,7 @@ where
222 } 223 }
223 } 224 }
224 225
226 /// Run the
225 pub async fn run(mut self) -> ! { 227 pub async fn run(mut self) -> ! {
226 let mut buf = [0; 512]; 228 let mut buf = [0; 512];
227 loop { 229 loop {