769
Chapter 37 Output Compare
7.Q & A
7.4 How do I set the initial level of the compare pin output?
Set it with compare pin output specification bit (OCS01.OTD[1:0]), (OCS23.OTD[1:0]), (OCS45.OTD[1:0]),
(OCS67.OTD[1:0]).
To enable compare operation
Compare 0 Set (OCS01.CST[0]) to “1”
Compare 1 Set (OCS01.CST[1]) to “1”
Compare 2 Set (OCS23.CST[0]) to “1”
Compare 3 Set (OCS23.CST[1]) to “1”
Compare 4 Set (OCS45.CST[0]) to “1”
Compare 5 Set (OCS45.CST[1]) to “1”
Compare 6 Set (OCS67.CST[0]) to “1”
Compare 7 Set (OCS67.CST[1]) to “1”
Operation Compare pin output specification bit
To set compare 0 pin to “L” Set (OCS01.OTD0) to “0”
To set compare 0 pin to “H” Set (OCS01.OTD0) to “1”
To set compare 1 pin to “L” Set (OCS01.OTD1) to “0”
To set compare 1 pin to “H” Set (OCS01.OTD1) to “1”
To set compare 2 pin to “L” Set (OCS23.OTD0) to “0”
To set compare 2 pin to “H” Set (OCS23.OTD0) to “1”
To set compare 3 pin to “L” Set (OCS23.OTD1) to “0”
To set compare 3 pin to “H” Set (OCS23.OTD1) to “1”
To set compare 4 pin to “L” Set (OCS45.OTD0) to “0”
To set compare 4 pin to “H” Set (OCS45.OTD0) to “1”
To set compare 5 pin to “L” Set (OCS45.OTD1) to “0”
To set compare 5 pin to “H” Set (OCS45.OTD1) to “1”
To set compare 6 pin to “L” Set (OCS67.OTD0) to “0”
To set compare 6 pin to “H” Set (OCS67.OTD0) to “1”
To set compare 7 pin to “L” Set (OCS7.OTD1) to “0”
To set compare 7 pin to “H” Set (OCS67.OTD1) to “1”