add irq en/disable macros

This commit is contained in:
matthias@arch 2024-01-02 23:36:58 +01:00
parent 808900602e
commit aebd813a55

View File

@ -79,10 +79,10 @@ INCLUDE_IOW65C22 = 1
CA2_IN_AE_IRQ_IND= %00000010 ; Independent interrupt input-negative edge CA2_IN_AE_IRQ_IND= %00000010 ; Independent interrupt input-negative edge
CA2_IP_AE = %00000100 ; Input-positive active edge CA2_IP_AE = %00000100 ; Input-positive active edge
CA2_IP_AE_IRQ_IND= %00000110 ; Independent interrupt input-positive edge CA2_IP_AE_IRQ_IND= %00000110 ; Independent interrupt input-positive edge
CA2_IN_HANDSHAKE = %00001000 ; Handshake output CA2_OUT_HANDSHAKE= %00001000 ; Handshake output
CA2_IN_PULSE_OUT = %00001010 ; Pulse output CA2_OUT_PULSE = %00001010 ; Pulse output
CA2_IN_LOW_OUT = %00001100 ; Low output CA2_OUT_LOW = %00001100 ; Low output
CA2_IN_HIGH_OUT = %00001110 ; High output CA2_OUT_HIGH = %00001110 ; High output
; CB1 Modes ; CB1 Modes
CB1_IN_AE = %00000000 ; Input-negative active edge CB1_IN_AE = %00000000 ; Input-negative active edge
CB1_IP_AE = %00010000 ; Input-positive active edge CB1_IP_AE = %00010000 ; Input-positive active edge
@ -91,10 +91,10 @@ INCLUDE_IOW65C22 = 1
CB2_IN_AE_IRQ_IND= %00100000 ; Independent interrupt input-negative edge CB2_IN_AE_IRQ_IND= %00100000 ; Independent interrupt input-negative edge
CB2_IP_AE = %01000000 ; Input-positive active edge CB2_IP_AE = %01000000 ; Input-positive active edge
CB2_IP_AE_IRQ_IND= %01100000 ; Independent interrupt input-positive edge CB2_IP_AE_IRQ_IND= %01100000 ; Independent interrupt input-positive edge
CB2_IN_HANDSHAKE = %10000000 ; Handshake output CB2_OUT_HANDSHAKE= %10000000 ; Handshake output
CB2_IN_PULSE_OUT = %10100000 ; Pulse output CB2_OUT_PULSE = %10100000 ; Pulse output
CB2_IN_LOW_OUT = %11000000 ; Low output CB2_OUT_LOW = %11000000 ; Low output
CB2_IN_HIGH_OUT = %11100000 ; High output CB2_OUT_HIGH = %11100000 ; High output
.endenum .endenum
; IFR/IER bits ; IFR/IER bits