【正文】
l PCA counting overflow marks CCON SFR (CF) buy bits. CCON SFR contains PCA operating control bits (CR) and PCA timer mark (CF) and symbol of each module CCF3 / CCF2 (CCF0). CCF1 / / Through the software for a CR bits (CCON. 6) to run PCA. CR bit is reset when PCA closed. When PCA counter overflow, CF patients (CCON. 7) buy a, if CMOD register, it produces ECF position a disruption. CF bits can only through software cleared. CCON register a 0 ~ 3 is PCA modules logo (a 0 0, a corresponding module 1 corresponding module 1, bits 2 corresponding module 2, a 3 corresponding module 3), when there is a match or by hardware buy a parisons. These signals are the only through software cleared. PCA capture of patterning If CCON SFR bits of the throne of CCFn and CCAPMn SFR ECCFn bit is set position, will produce the interruption. A software timer mode Through the CCAPMn registers for a ECOM and MAT bits, can make the PCA module used for software timer (below). PCA timer values and module of the register pared to capture, when both values equal, if a CCON SFR in CCFn (in) and a ECCFn CCAPMn SFR) in all buy bits, will produce the interruption. PCA Software Timer Mode/Software Timer model/PCA parative Mode PCA Software Timer Mode/Software Timer model/PCA parative Mode Highspeed output model This model (below), when PCA counter plan of the numerical and module capture registers matching, PCA value CEXn output will happen module of the flip. To activate the highspeed output modes of CCAPMn TOG SFR, modules, MAT and ECOM bit must buy bits. PCA High Speed, Output Mode/PCA highspeed Output Mode In use PCA highspeed output mode special application note: If a certain PCA module working in high speed pulse output mode, want to use software output change the same group of other mon I/O port state, need to do first, whether CCAPnH judge CH is equal to abide, can freely modify, if equal, and determine CCAPnL circumstances CL is allowed to change the same group of other mon I/O port state. If use / PCA0 / PWM0 do PCA highspeed pulse output, and the program inside and with software output change when the state mouth, you need to do judgment. When one has the PCA highspeed pulse output function of I/O mouth working in high speed pulse output mode, if the software for the same group of other I/O port operation, if meet PCA parator matching, this operation can ch