rust: Add comment for sysctl set_spi0_dvp_data

This commit is contained in:
Wladimir J. van der Laan 2020-02-18 06:23:27 +00:00
parent 4d987f0d7d
commit 78fb83fe50

View File

@ -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) { pub fn set_spi0_dvp_data(status: bool) {
unsafe { unsafe {
(*pac::SYSCTL::ptr()) (*pac::SYSCTL::ptr())