soc/cores/i2c: change ISR to rising edge of idle
This commit is contained in:
parent
b8b6ecef7c
commit
5504cc626f
|
@ -239,7 +239,7 @@ class I2CMaster(Module, AutoCSR):
|
|||
|
||||
# Event Manager.
|
||||
self.submodules.ev = EventManager()
|
||||
self.ev.idle = EventSourceLevel()
|
||||
self.ev.idle = EventSourceProcess(edge="rising")
|
||||
self.ev.finalize()
|
||||
self.comb += self.ev.idle.trigger.eq(i2c.idle)
|
||||
|
||||
|
|
Loading…
Reference in New Issue