
427
Chapter 29 MPU / EDSU
4.Registers
The selection of the appropriate BADx register (point 0 or 2) for the mask value depends on EP0 and ER0. If at least
one of both bits are enabled, the mask usage switches to point 2 due to the allocation of point 0. Otherwise the
default mask stored in point 0 applies for CMP0. If MPE=1 and COMB=1 the mask is taken from point 0, regardless
of the setting of EP0 and ER0.
BIT[1]: ER1 - Enable Range for CMP1
If ER1 is enabled then the registers BADx, point 3 and point 2 will be used for range comparison:
Point 2 <= Compare Value <= Point 3.
If a mask is set with EM1 then both point registers will be masked with the mask register content.
Point 3 and Point 2 are taken from BAD[x+3] and BAD[x+2], the mask is stored in Point 0, BAD[x+0].
The ’x’ is the group offset and calculates by the group index multiplied with 4.
BIT[0]: ER0 - Enable Range for CMP0
If ER0 is enabled then the registers BADx, point 1 and point 0 will be used for range comparison:
Point 0 <= Compare Value <= Point 1.
If a mask is set with EM0 then both point registers will be masked with the mask register content.
In the special case of MPE=1 together with COMB=1, Point 1 and Point 0 are taken from the opposite channel
BAD[x+3] and BAD[x+2] and the mask is stored in Point 0, BAD[x+0]. Otherwise Point 1 and Point 0 are taken from
BAD[x+1] and BAD[x+0], the mask is stored in Point 2, BAD[x+2].
The ’x’ is the group offset and calculates by the group index multiplied with 4.
●
Break Address/Data register (BAD0...BAD31)
The BADx registers define 32 break point addresses, data values or mask information for the 8 groups of channels.
For each group of channels there are 4 dedicated BAD registers. BAD0, BAD1, BAD2 and BAD3 belong to Group
0, BAD4, BAD5, BAD6 and BAD7 belong to Group 1 and so on. The functionality described below for the registers
of group 0 is representative for all the other groups too. The index of the BADx registers has to be incremented by
4 for each of the next group indexes.
This register sets the 32 bit comparison value for break point 0 of CMP0. In range mode (set with ER0) the register
value of BAD0 functions as lower address limit. In addition BAD0 could be used as mask register.
In the special case of MPE=1 and COMB=1 BAD0 is not used for the point definition. CMP0 gets its point configu-
ration then from BAD2.
0
Range detection CMP1 (channels 2-3) is disabled (default)
1
Range detection CMP1 (channels 2-3) is enabled
0
Range detection CMP0 (channels 0-1) is disabled (default)
1
Range detection CMP0 (channels 0-1) is enabled
BAD0 (BAD4, BAD8, ..., BAD28) [R/W]
Address
+0
+1
+2
+3
F080
H
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
Summary of Contents for FR Family FR60 Lite
Page 2: ...FUJITSU LIMITED ...
Page 3: ...FR60 32 BIT MICROCONTROLLER MB91460 Series User s Manual ...
Page 15: ...xi ...
Page 16: ...xii ...
Page 38: ...22 Chapter 2 MB91460 Rev A Rev B Overview 4 Block Diagram ...
Page 128: ...112 Chapter 4 CPU Architecture 9 Addressing ...
Page 153: ...137 Chapter 8 Device State Transition 3 State Transition Diagram ...
Page 154: ...138 Chapter 8 Device State Transition 3 State Transition Diagram ...
Page 169: ...153 Chapter 9 Reset 10 Caution ...
Page 170: ...154 Chapter 9 Reset 10 Caution ...
Page 180: ...164 Chapter 10 Standby 7 Q A ...
Page 182: ...166 Chapter 10 Standby 8 Caution ...
Page 199: ...183 Chapter 12 Instruction Cache 2 Main body structure Figure 2 3 I Cache Address Map ...
Page 200: ...184 Chapter 12 Instruction Cache 2 Main body structure Figure 2 4 I Cacheable Area ...
Page 222: ...206 Chapter 13 Clock Control 8 Caution ...
Page 232: ...216 Chapter 14 PLL Interface 7 Caution ...
Page 236: ...220 Chapter 15 CAN Clock Prescaler 3 Registers ...
Page 288: ...272 Chapter 19 Timebase Timer 8 Caution ...
Page 314: ...298 Chapter 22 Main Oscillation Stabilisation Timer 8 Caution ...
Page 326: ...310 Chapter 23 Sub Oscillation Stabilisation Timer 8 Caution ...
Page 348: ...332 Chapter 25 External Interrupt 8 Caution ...
Page 398: ...382 Chapter 26 DMA Controller 6 DMA External Interface ...
Page 402: ...386 Chapter 27 Delayed Interrupt 8 Caution ...
Page 412: ...396 Chapter 28 Bit Search 8 Caution ...
Page 521: ...505 Chapter 30 I O Ports 3 Port Register Settings ...
Page 522: ...506 Chapter 30 I O Ports 3 Port Register Settings ...
Page 574: ...558 Chapter 31 External Bus 4 Endian and Bus Access Byte Access ...
Page 628: ...612 Chapter 31 External Bus 13 Notes on Using the External Bus Interface ...
Page 706: ...690 Chapter 33 I2C Controller 4 Programming Flow Charts ...
Page 748: ...732 Chapter 34 CAN Controller 4 CAN Application ...
Page 762: ...746 Chapter 35 Free Run Timer 8 Caution ...
Page 790: ...774 Chapter 37 Output Compare 8 Caution ...
Page 838: ...822 Chapter 39 Programmable Pulse Generator 8 Caution ...
Page 850: ...834 Chapter 40 Pulse Frequency Modulator 4 PFM Operation and Setting ...
Page 886: ...870 Chapter 42 Sound Generator 3 Registers ...
Page 900: ...884 Chapter 43 Stepper Motor Controller 4 Caution ...
Page 939: ...923 Chapter 47 LCD Controller 3 Configuration Figure 3 2 Register List ...
Page 943: ...927 Chapter 47 LCD Controller 4 Registers Correspondence between VRAM and Common Segment Pins ...
Page 964: ...948 Chapter 48 Clock Monitor 8 Caution ...
Page 994: ...978 Chapter 51 Low Voltage Reset Interrupt 3 Registers ...
Page 998: ...982 Chapter 52 Regulator Control 3 Registers ...
Page 1008: ...992 Chapter 53 Fixed Mode Reset Vector BOOT ROM 5 Bootloader Update Strategy ...
Page 1024: ...1008 Chapter 54 Flash Memory 8 Caution ...
Page 1032: ...1016 Chapter 55 Flash Security 4 Register ...
Page 1034: ...1018 Chapter 56 Electrical Specification ...
Page 1035: ...FR60 MB91460 Series Hardware Manual European Microcontroller Design Centre Author MBo ...
Page 1036: ......
Page 1038: ......