Fujitsu MB90480 Series Hardware Manual page 273

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

• OUT4 output reverses output by a match with comparison result between free-running timer
and compare register 4.
● Method to enable/disable compare operation
Set by compare operation bit (OCS01. CST[1:0], OCS23. CST[1:0], OCS45. CST[1:0]).
To stop (disable) compare operation
To enable compare operation
● Method to set the initial level of compare pin output
Set by compare pin output specification bit (OCS01.OTD[1:0], OCS23.OTD[1:0], OCS45.OTD[1:0]).
Operation
Set compare 0 pin to "L"
Set compare 0 pin to "H"
Set compare 1 pin to "L"
Set compare 1 pin to "H"
Set compare 2 pin to "L"
Set compare 2 pin to "H"
Set compare 3 pin to "L"
Set compare 3 pin to "H"
Set compare 4 pin to "L"
Set compare 4 pin to "H"
Set compare 5 pin to "L"
Set compare 5 pin to "H"
Operation
CHAPTER 12 16-BIT INPUT/OUTPUT TIMER
Compare
Compare operation enable bit
Compare 0
Set (OCS01.CST0) to "0".
Compare 1
Set (OCS01.CST1) to "0".
Compare 2
Set (OCS23.CST0) to "0".
Compare 3
Set (OCS23.CST1) to "0".
Compare 4
Set (OCS45.CST0) to "0".
Compare 5
Set (OCS45.CST1) to "0".
Compare 0
Set (OCS01.CST0) to "1".
Compare 1
Set (OCS01.CST1) to "1".
Compare 2
Set (OCS23.CST1) to "1".
Compare 3
Set (OCS23.CST0) to "1".
Compare 4
Set (OCS45.CST0) to "1".
Compare 5
Set (OCS45.CST1) 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.OTD1) to "0"
Set (OCS45.OTD1) to "1"
Set (OCS45.OTD1) to "0"
Set (OCS45.OTD1) to "1"
251

Advertisement

Table of Contents
loading

Table of Contents