Fujitsu MB91460 SERIES FR60 User Manual page 785

32-bit microcontroller
Table of Contents

Advertisement

To enable compare operation
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 set compare 0 pin to "L"
To set compare 0 pin to "H"
To set compare 1 pin to "L"
To set compare 1 pin to "H"
To set compare 2 pin to "L"
To set compare 2 pin to "H"
To set compare 3 pin to "L"
To set compare 3 pin to "H"
To set compare 4 pin to "L"
To set compare 4 pin to "H"
To set compare 5 pin to "L"
To set compare 5 pin to "H"
To set compare 6 pin to "L"
To set compare 6 pin to "H"
To set compare 7 pin to "L"
To set compare 7 pin to "H"
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"
Compare pin output specification bit
Set (OCS01.OTD0) to "0"
Set (OCS01.OTD0) to "1"
Set (OCS01.OTD1) to "0"
Set (OCS01.OTD1) to "1"
Set (OCS23.OTD0) to "0"
Set (OCS23.OTD0) to "1"
Set (OCS23.OTD1) to "0"
Set (OCS23.OTD1) to "1"
Set (OCS45.OTD0) to "0"
Set (OCS45.OTD0) to "1"
Set (OCS45.OTD1) to "0"
Set (OCS45.OTD1) to "1"
Set (OCS67.OTD0) to "0"
Set (OCS67.OTD0) to "1"
Set (OCS7.OTD1) to "0"
Set (OCS67.OTD1) to "1"
Chapter 37 Output Compare
7.Q & A
769

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents