forked from M-Labs/artiq-zynq
upconn fw: rename csr
This commit is contained in:
parent
8b2181b1a8
commit
fe57067f70
|
@ -50,10 +50,10 @@ pub fn tx_test(timer: &mut GlobalTimer) {
|
||||||
|
|
||||||
// Collect data
|
// Collect data
|
||||||
let mut i: usize = 0;
|
let mut i: usize = 0;
|
||||||
while csr::cxp::upconn_upconn_phy_debug_buf_dout_valid_read() == 1 {
|
while csr::cxp::upconn_phy_debug_buf_dout_valid_read() == 1 {
|
||||||
pak_arr[i] = csr::cxp::upconn_upconn_phy_debug_buf_dout_pak_read();
|
pak_arr[i] = csr::cxp::upconn_phy_debug_buf_dout_pak_read();
|
||||||
// println!("received {:#04X}", pak_arr[i]);
|
// println!("received {:#04X}", pak_arr[i]);
|
||||||
csr::cxp::upconn_upconn_phy_debug_buf_inc_write(1);
|
csr::cxp::upconn_phy_debug_buf_inc_write(1);
|
||||||
i += 1;
|
i += 1;
|
||||||
if i == LEN {
|
if i == LEN {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue