Simulates the ACK line on the bus. Peripherals are expected to send an ACK signal over this line to tell the PS1 "keep sending me things I'm not done yet". The PS1 then uses this after it receives the peripheral's response to decide what to do.
| 66 | // over this line to tell the PS1 "keep sending me things I'm not done yet". The PS1 |
| 67 | // then uses this after it receives the peripheral's response to decide what to do. |
| 68 | void Sio0::SetAcknowledge(bool ack) |
| 69 | { |
| 70 | if (ack) |
| 71 | { |
| 72 | stat |= SIO0_STAT::ACK; |
| 73 | } |
| 74 | else |
| 75 | { |
| 76 | stat &= ~(SIO0_STAT::ACK); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | void Sio0::Interrupt(Sio0Interrupt sio0Interrupt) |
| 81 | { |
no outgoing calls
no test coverage detected