From 512a98d309141b8bc5880846023ef0bcb67cd29c Mon Sep 17 00:00:00 2001 From: Mathias Rasmussen Date: Sat, 20 Mar 2021 01:12:30 +0100 Subject: [PATCH] docs: Add pca interrupt macro comments --- Common.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Common.inc b/Common.inc index 0a7b61c..7e7c4d7 100644 --- a/Common.inc +++ b/Common.inc @@ -166,28 +166,28 @@ ENDIF ENDM Clear_COVF_Interrupt MACRO - anl PCA0PWM, #0DFh + anl PCA0PWM, #0DFh ;; Clear PCA cycle overflow flag ENDM Enable_COVF_Interrupt MACRO - orl PCA0PWM, #40h + orl PCA0PWM, #40h ;; Enable PCA interrupt on cycle overflow ENDM Disable_COVF_Interrupt MACRO - anl PCA0PWM, #0BFh + anl PCA0PWM, #0BFh ;; Disable PCA interrupt on cycle overflow ENDM IF DEADTIME == 0 ; CCF interrupt is only used for DEADTIME == 0 Clear_CCF_Interrupt MACRO - anl PCA0CN0, #0FEh + anl PCA0CN0, #0FEh ;; Clear PCA capture/compare flag ENDM Enable_CCF_Interrupt MACRO - orl PCA0CPM0,#01h + orl PCA0CPM0, #01h ;; Enable PCA interrupt on capture/compare ENDM Disable_CCF_Interrupt MACRO - anl PCA0CPM0,#0FEh + anl PCA0CPM0, #0FEh ;; Disable PCA interrupt on capture/compare ENDM ENDIF