fix: restore CH390 bridge flow and sync driver docs
This commit is contained in:
@@ -220,9 +220,9 @@ void ch390_default_config()
|
||||
// ch390_set_mac_address(mac_addr);
|
||||
ch390_set_multicast(multicase_addr);
|
||||
|
||||
// Enable all interrupt and PAR
|
||||
ch390_write_reg(CH390_IMR, IMR_ALL);
|
||||
// Enable RX
|
||||
// Enable only the interrupts needed by the NO_SYS polling path.
|
||||
ch390_write_reg(CH390_IMR, (uint8_t)(IMR_PRI | IMR_LNKCHGI | IMR_ROOI | IMR_ROI));
|
||||
// Enable RX with the reference receive filter.
|
||||
ch390_write_reg(CH390_RCR, RCR_DIS_CRC | RCR_RXEN);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user