mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 09:26:21 +04:00
rust: Add comment for sysctl set_spi0_dvp_data
This commit is contained in:
parent
4d987f0d7d
commit
78fb83fe50
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user