reset RTIO
This commit is contained in:
parent
d8d09e219f
commit
6fbd6152da
@ -20,6 +20,12 @@ pub struct TimestampedData {
|
|||||||
|
|
||||||
pub extern fn init() {
|
pub extern fn init() {
|
||||||
// TODO
|
// TODO
|
||||||
|
unsafe {
|
||||||
|
csr::rtio_core::reset_write(1);
|
||||||
|
csr::rtio_core::reset_phy_write(1);
|
||||||
|
csr::rtio_core::reset_write(0);
|
||||||
|
csr::rtio_core::reset_phy_write(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub extern fn get_destination_status(destination: i32) -> bool {
|
pub extern fn get_destination_status(destination: i32) -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user