1.8 MHz
This commit is contained in:
parent
5c02ff6585
commit
4e76be17ad
@ -35,12 +35,14 @@ Import ps2kb, send_command, send_cmd, send_data, cmd_response, response_length,
|
|||||||
|
|
||||||
VIA = IO1
|
VIA = IO1
|
||||||
; Enough time must pass for 3 bits to be shifted in.
|
; Enough time must pass for 3 bits to be shifted in.
|
||||||
TIMER_RECV = 230 ; 230 ms (@1MHz)
|
; TIMER_RECV = 230 ; 230 ms (@1MHz)
|
||||||
|
TIMER_RECV = 400 ; 230 ms (@1MHz)
|
||||||
; Enough time must pass for one bit must be shifted out (parity),
|
; Enough time must pass for one bit must be shifted out (parity),
|
||||||
; but at most two (parity+stop).
|
; but at most two (parity+stop).
|
||||||
; After that, the interrupt must have happened because the keyboard will pull data low.
|
; After that, the interrupt must have happened because the keyboard will pull data low.
|
||||||
; At that point, the SR needs to be set to input again
|
; At that point, the SR needs to be set to input again
|
||||||
TIMER_SEND = 230 ; 180 ms (@1MHz)
|
; TIMER_SEND = 230 ; 180 ms (@1MHz)
|
||||||
|
TIMER_SEND = 400 ; 180 ms (@1MHz)
|
||||||
|
|
||||||
PULL_REG = IO::RANH
|
PULL_REG = IO::RANH
|
||||||
PULL_DDR = IO::DDRA
|
PULL_DDR = IO::DDRA
|
||||||
|
Loading…
Reference in New Issue
Block a user