这两个寄存器到底是起什么作用?
A channel 7 output compare
未必是说,这两个寄存器是专门应用通道7的输出?
best regards!作者: dragonhux 时间: 2007-8-2 15:30
我自己来理解一下对于这两位的含义,也给大家留一点经验:
OC7M:
Output Compare Mask Action for Channel 7:0
0 The corresponding OC7Dx bit in the output compare 7 data register will not be transferred to the timer port on
a successful channel 7 output compare, even if the corresponding pin is setup for output compare.
1 The corresponding OC7Dx bit in the output compare 7 data register will be transferred to the timer port on a
successful channel 7 output compare.
Note: The corresponding channel must also be setup for output compare (IOSx = 1) for data to be transferred
from the output compare 7 data register to the timer port.