206
Configure item
Function
High speed counter
Choose HSC, the range is from HSC0 to HSC18
Frequency
Choose the HSC frequency doubling (2 or 4)
Compare value
The value can be register or constant, in this example, when the
counting value reaches compare value, HSC0 is ON. here the compare
value is 200000 which is saved in D10.
Relative and absolute
The HSC is relative mode or absolute mode
Interrupt address
The starting registers to store 100 segments interruption preset value
Circulate
100 segments interruption mode is cycle or not
Cam
The cam function is executed when any set value of 100-segment high
speed counting interruption equals the counting value.
Method 2: make the program