M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts
Timer8_1_WritePeriod(10);//vc3 = vc1/16/5/100 T unit = 1ms
Timer8_WriteCompareValue(0x00);
Timer8_1_EnableInt();
Timer8_1_Start();
;@PSoC_UserCode_BODY@ (Do not change this line.)
;---------------------------------------------------
; Insert your custom assembly code below this banner
;---------------------------------------------------
; NOTE: interrupt service routines must preserve
; the values of the A and X CPU registers.
;---------------------------------------------------
; Insert your custom assembly code above this banner
;---------------------------------------------------
ljmp _Timer8_1_ISR_C
//_Timer8_1_ISR_C
;---------------------------------------------------
; Insert a lcall to a C function below this banner
; and un-comment the lines between these banners
;---------------------------------------------------
;---------------------------------------------------
; Insert a lcall to a C function above this banner
; and un-comment the lines between these banners
;---------------------------------------------------
;@PSoC_UserCode_END@ (Do not change this line.)
M8C_EnableGInt ; // Uncomment this line to enable Global Interrupts
Timer8_1_WritePeriod(10);//vc3 = vc1/16/5/100 T unit = 1ms
Timer8_1_WriteCompareValue(0x00);
Timer8_1_EnableInt();
Timer8_1_Start();