From 78fb83fe50685261dae4c6cc3e35f9cbfa565432 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 18 Feb 2020 06:23:27 +0000 Subject: [PATCH] rust: Add comment for sysctl set_spi0_dvp_data --- rust/k210-shared/src/soc/sysctl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/k210-shared/src/soc/sysctl.rs b/rust/k210-shared/src/soc/sysctl.rs index 7371b96..1695df8 100644 --- a/rust/k210-shared/src/soc/sysctl.rs +++ b/rust/k210-shared/src/soc/sysctl.rs @@ -416,6 +416,7 @@ pub fn set_power_mode(power_bank: power_bank, mode: io_power_mode) { } } +/** Route SPI0_D0-D7 DVP_D0-D7 functions to SPI and DVP data pins (bypassing FPIOA). */ pub fn set_spi0_dvp_data(status: bool) { unsafe { (*pac::SYSCTL::ptr())