Top Banner

of 41

RegEditor_UserGuide

Jun 04, 2018

Download

Documents

Khoa Pham
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/13/2019 RegEditor_UserGuide

    1/41

    Face

    Embest Register EditorUsers Manual

    Shenzhen Embest Info&Tech Co., Ltd.

    Add.: Room 210, Luohu Keji Building, No. 85, Taining Rd.,

    Luohu Dist., Shenzhen (518020)

    Tel: 86-755-25631365 86-755-25635656 Fax:86-755-25616057

    E-mail: [email protected] [email protected]

    http://www.embedinfo.com http://www.embed.com.cn

    mailto:[email protected]://www.embedinfo.com/http://www.embed.com.cn/http://www.embed.com.cn/http://www.embedinfo.com/mailto:[email protected]
  • 8/13/2019 RegEditor_UserGuide

    2/41

    Contents

    1. Software overview ...................................................................... 31.1 Features............................................................................. 31.2 Terms ................................................................................ 4

    2. Software installation.................................................................... 72.1 System requirements ........................................................... 72.2 Embest Register Editor ......................................................... 8

    3. Software interfaces and menus ..................................................... 93.1 Software interface................................................................ 9

    3.1.1 Window for processor product ..................................... 103.1.2 Window for register group........................................... 113.1.3 Register window........................................................ 123.1.4 Register field window ................................................. 13

    3.2 Software menu.................................................................. 15

    3.2.1 File menu................................................................. 163.2.2 Edit menu................................................................. 173.2.3 View menu ............................................................... 183.2.4 Help menu................................................................ 193.2.5 Right-key menu......................................................... 20

    4. Usage...................................................................................... 214.1 Add processor register........................................................ 21

    4.1.1 Add a type of processor core....................................... 224.1.2 Add processor manufacturer ....................................... 234.1.3 Add processor........................................................... 244.1.4 Add register group..................................................... 254.1.5 Add a register ........................................................... 264.1.6 Add a register field .................................................... 27

    4.2 View details of register ....................................................... 294.2.1 Register details window .............................................. 29

    4.3 Deletion of register information records ................................ 324.3.1 Deletion operation ..................................................... 32

    4.4 Import and export of processor register ................................ 334.4.1 Import of register information ..................................... 334.4.2 Export of register information...................................... 33

    5. Operation examples .................................................................. 345.1 Example for adding OKI register .......................................... 34

    Step 1: add processor manufacturer..................................... 35Step 2: add a processor...................................................... 36Step 3: add a register group ............................................... 37Step 4: add register........................................................... 38Step 5: add a register field.................................................. 39

    5.2 Example for adding S3C2410X register ................................. 41

  • 8/13/2019 RegEditor_UserGuide

    3/41

    1. Software overview

    1.1 Features

    Embest Register Editor is aided development software provided by

    Embest for those software and hardware engineers to develop embedded

    systems. During the process of circuit design testing, drive program and

    bottom-layer software compilation debugging, embedded system developers

    often have to refer to register manual, manually calculate the current values

    set for the register, and analyze the current values of the register to find their

    meanings one by one. The Embest Register Editor can automatically fulfill the

    functions above, and present all the details of the register with direct and

    visual graphics. As a result, it is unnecessary to resort to the registers data

    manual during embedded software programming and debugging, and it has

    become an indispensable tool for the development of embedded software.

    Features of Embest Register Editor:

    1) Supports all processor core, and processors of any models

    of any vendors;

    2) Adds/deletes/modifies processor, register group, register

    and register field;

    3) Visualized view of registers details, including register

    description, register field description, set values for

    register field, and the corresponding meanings;

    4) Supports modification of register values in hexadecimal

    mode, binary mode and register field setting mode;

    5) Integrated processor and register import and export

    functions;

    6) Supports operating systems of Windows 98/ME/XP and

    Windows NT/2000;

    7) Free software release.

    As an auxiliary tool for the embedded software Integrated Development

    Environment Embest IDE, the Embest Register Editor is able to achieve the

    following functions:

    1) Users can view/add/modify the register, register group and process in

    an integrated environment;2) Describes details of customized register.

  • 8/13/2019 RegEditor_UserGuide

    4/41

    1.2 Definition

    To use the software adding register information, generally we refer to the

    data manual for processors to set. In the following is the register information

    in the S3C4510B datasheet, from which we can view the contents listed in Fig.

    1-1:

    a

    b

    Fig. 1-1 Description of register in data manual

  • 8/13/2019 RegEditor_UserGuide

    5/41

    As a correspondence to the information of register in the data manual as

    shown in Fig. 1-1, the following concepts will be employed for the software:

    Processor core

    Names of core portfolios of the processor, for example, ARM7, ARM9,

    M68K, MIPS, and so on.

    Processor manufacturer

    Processor manufacturers, for example, ATMEL, SAMSUGN, Motorola, and

    so on.

    Processor

    Models and names for processors of manufacturers, for example,

    AT91M55800, S3C4510B, MC68EZ328, and so on.

    Register group

    It refers to the grouping of registers in the processor. Generally speaking,

    registers are grouped in terms of peripheral modules or functional modules in

    the core. The same group of registers shares one base address, and base

    address+ offset address is employed for access to the registers in the group.

    For example, systems configuration register, clock control register,

    interruption register group, I/O register group, and so on.

    Register

    Access unit of special meaning specified by the processor, which is used to

    configure peripheral modules or functional modules in the core, for example,

    SYSCFG and CLKCON as shown in Fig. 1-1 (a).

    Register field

    With specific meanings, it is usually comprises one or multiple data bits of

    the registers access unit. Generally speaking, character symbols of specific

    meanings are employed for marking. Values are accessible for the register

    field, and there are corresponding descriptions for the values of the data bits.

    For example, in Fig. 1-1 (b), bit [5:4] of SYSCFG register is named CM field,

    and bit [0] named SE field.

    Register base address

    Access address with the lowest memory allocated by the processor to the

    register, which can be got from the data manual.

    Offset address of register group

    A value of registers offset base address in register and processor

    grouping.

  • 8/13/2019 RegEditor_UserGuide

    6/41

    Registers offset address

    One value in register group corresponding to register groups offset

    address. The access address for the register is: registers base address

    +register groups offset address+registers offset address.

  • 8/13/2019 RegEditor_UserGuide

    7/41

    2. Software installation

    2.1 System requirements

    Computer: Pentium II or higher

    Memory: 64M or higher

    Hard discs: 10M is necessary to setup the complete software.

    Monitor: VGA or a monitor with resolution higher than VGA

    Driver: CD-ROM driver

    Operation

    system:

    Microsoft Windows 98, Windows Me, Windows XP,

    Serivice Pack 3 or updated Windows NT, Windows

    2000.

  • 8/13/2019 RegEditor_UserGuide

    8/41

    2.2 Setup

    It is quite simple to set up Embest Register Editor, just by running

    Setup.exe in the Embest Register Editor package and make

    implementation step by step according to the instructions.

    Embest Register Editor setup program shall automatically distinguish

    whether Embest IDE software already exists in the computer.

    1. If Embest IDE software exists in the computer, the setup program

    shall setup Embest Register Editor on default basis to {Embest IDE setup

    directory}\Tools\Peripheral. Please refer to the following figure.

    Meanwhile, the setup program shall automatically detect whether the

    computer needs to install the device module and driver program shared by

    IDE software. If IDE has been registered, the software works directly.

    Fig. 2-1 Destination Location Dialogue of Setup Program

    2. If Embest IDE software is not available in the computer, the setup

    program shall setup Embest Register Editor on default basis to Program

    Files\ Embest\Peripheral. It is necessary to restart the computer after

    setup. Registration is necessary before the software works normally.

    After setup, make default-creation of Embest Tools program folder,

    which should contain shortcut of execution program and help.

  • 8/13/2019 RegEditor_UserGuide

    9/41

    3. Software interfaces and menus

    3.1 Software interface

    Upon software running, the interface will be displayed in two columns. On

    the left is a list of registers information in a tree form; on the right is the

    properties setting for the items selected from the window on the left. And

    users can edit or modify the names and properties of different record items.

  • 8/13/2019 RegEditor_UserGuide

    10/41

    3.1.1 Window for processor product

    Fig. 3-1 Window for names of processor products

    The properties of the window for the names of the processor products are

    listed in Table 3-1:

    Table 3-1: Properties of the window for the names of the processorproducts

    Item DescriptionDefault

    value

    Default base address Registers default base address 0x00000000

    Current base address Registers current base address 0x00000000

    Enable visible Whether to configure in Embest

    IDE project->Register item-

    >Core display in the list

    Display

    (TRUE)

  • 8/13/2019 RegEditor_UserGuide

    11/41

    3.1.2 Window for register group

    Fig. 3-2 Register group window and its properties

    The properties of the register groups window are listed in Table 3-2:

    Table 3-2 Properties of the register groups window

    Item DescriptionDefault

    value

    Function name Registers grouping name in the

    datasheet, and users can use the

    register groups name in the data

    manual

    Prompt

    Offset address Register groups offset address,

    and the register group is based

    on the offset of the base

    addresses of the processor and

    the register

    0

    Description Description of register group Null

  • 8/13/2019 RegEditor_UserGuide

    12/41

    3.1.3 Register window

    Fig. 3-3 Registers window and properties

    The properties of the registers window are listed in Table 3-3:

    Table 3-3 Properties of the registers window

    Item DescriptionDefault

    value

    Word length Register length 32

    Offset address Register offset 0x0000

    Field number Number of fields in the register 1

    Used bits maskUsed bit (mask), 1 means that the

    bit is being used0xffffffff

    Generic Read-Write

    Generics of read and write (0read

    only; 1read and write; 2write

    only)

    1

    Reset value Reset value 0x0

    Description Description of register in words Prompt

  • 8/13/2019 RegEditor_UserGuide

    13/41

    3.1.4 Register field window

    Fig. 3-4 Register field window and its properties

    The properties of the register field window are listed in Table 3-4:

    Table 3-4 Properties of the register field window

    Item DescriptionDefault

    value

    Name Name of register field Prompt

    Description Description of register field in

    words

    Null

    Start Bit Start bit for the field in the

    register unit

    bit0

    End Bit End bit for the field in the

    register unit

    bit31

  • 8/13/2019 RegEditor_UserGuide

    14/41

  • 8/13/2019 RegEditor_UserGuide

    15/41

  • 8/13/2019 RegEditor_UserGuide

    16/41

    3.2.1 File menu

    The file menu is illustrated in Fig. 3-5:

    Fig. 3-5 File menu of register

    The meanings of the various items are listed in Table 3-5:

    Table 3-5 Meanings of the various items

    Item Shortcut key DescriptionExit None Exit from the software

    Import None Import of records of processor and

    register

    Export Core None Export of records of processor and

    register

  • 8/13/2019 RegEditor_UserGuide

    17/41

    3.2.2 Edit menu

    The edit menu is illustrated in Fig. 3-6:

    Fig. 3-6 Edit menu of register

    The meanings of the various items are listed in Table 3-6:

    Table 3-6 Meanings of the various items

    Item Shortcut

    key

    Description

    Add New Item Ctr+N Add new record item

    Modify Item Name Ctr+M Modify specified record item

    Delete Item Del Delete specified record item

    Edit Property Ctrl+P Edit property of specified record item

  • 8/13/2019 RegEditor_UserGuide

    18/41

    3.2.3 View menu

    The view menu is illustrated in Fig. 3-7:

    Fig. 3-7 View menu of register

    The meanings of the various items are listed in Table 3-7:

    Table 3-7 Meanings of the various items of the view menu

    Item Shortcut key Description

    Status Bar None Select whether to display status bar

    Refresh F5 Refresh record items

    Show Register Ctl+S Open the window for details of the

    register

  • 8/13/2019 RegEditor_UserGuide

    19/41

    3.2.4 Help menu

    The help menu is illustrated in Fig. 3-8:

    Fig. 3-8 Help menu of register

    The meanings of the various items are listed in Table 3-8:

    Table 3-8 Meanings of the various items of the help menu

    Item Shortcut key Description

    Using Help None Users manual of register editorAbout None Related information about editor

  • 8/13/2019 RegEditor_UserGuide

    20/41

    3.2.5 Right-key menu

    Right click the items in the information record window of the register, and

    a menu will pop up as shown in Fig. 3-9:

    Fig. 3-9 Right-key menu of the system

    The definitions for the right-key menus of the system are listed in:

    Table 3-9 Meanings of various items of the systems right-key menu

    Item Description

    Show Register Activate detail widow of the register

    Expand Expand the display of the register group

    Collapse Collapse the display of the register group

    Refresh Refresh records, and its functions are thesame as the operations of the view menu

    Add New Item Add record items, and its functions are the

    same as the operations of the edit menu

    Modify Item Name Edit the current record items, and its

    functions are the same as the operations of

    the edit menu

    Delete Item Delete the current record items, and its

    functions are the same as the operations of

    the edit menu

    Edit Property Edit the properties of the current records,

    and its functions are the same as the

    operations of the edit menu

    Note: when users choose record items at different positions, partial

    functions of the right-key menu may be forbidden

  • 8/13/2019 RegEditor_UserGuide

    21/41

    4. Usage

    4.1 Add processor register

    Users can according to their specific requirements add any one type of

    processors register record. To add a complete register information record, the

    following operations shall be implemented: add name of processor core, add

    name of processor manufacturer, add processor and its properties, add

    register group and its properties, add register and its properties, add register

    field and its properties.

  • 8/13/2019 RegEditor_UserGuide

    22/41

    4.1.1 Add a type of processor core

    Right click the first item name in the information record tree, and the

    right-key menu as shown in Fig. 3-? will pop up.

    Click Add New Item option, and New Core will be added in the register

    tree, and users can use the right-key menu Modify Item Name to modify the

    name.

    At the same time, the system will generate the default configuration item

    of New Core node, and the default configuration items include the new

    processor manufacturer, the big and little Endian mode item, and the name of

    the little Endian processor, as shown in Fig. 4-1:

    Fig. 4-1 Default items for new core system

  • 8/13/2019 RegEditor_UserGuide

    23/41

    4.1.2 Add processor manufacturer

    Users can add a new processor manufacturer in the existing ARM core

    series sub tree. Right click the series names of the ARM core, and a menu as

    shown in Fig. 3-9 will pop up. Select Add New Item to add a new processormanufacturer, and select Modify Item Name to modify the name of the

    manufacturer. At the same time, the system will generate the default

    configuration item for the processor manufacturer, including the mode items

    of big and small Endian, and the name of the little Endian processor, as shown

    in Fig. 4-2:

    Fig. 4-2 Add processor manufacturer

  • 8/13/2019 RegEditor_UserGuide

    24/41

    4.1.3 Add processor

    Right click the Endian mode of the corresponding processor manufacturer,

    and a right-key menu will pop up as shown in Fig. 3-9. Select Add New Item

    to add the ARM core processor of the manufacturer (note: users can only addproduct series in the corresponding mode), and select Modify Item Name to

    modify the name of the processor. The system will automatically generate

    initialization properties for the new processor, as shown in Fig. 4-3:

    Fig. 4-3 Default configuration items for the processor system

    The meanings of the various items are listed in Table 4-1:

    Table 4-1 Meanings of the various item of processor

    Item DescriptionDefault

    value

    Default base address Default base address for register 0x00000000

    Current base address Current base address for register 0x00000000

    Enable visible Whether to configure at EmbestIDE project->Processor item->

    Core

    Display(TRUE)

  • 8/13/2019 RegEditor_UserGuide

    25/41

    4.1.4 Add register group

    Right click the processor name, and a right-key menu as shown in Fig. 3-

    9 will pop up. Select Add New Item to add a register group for the processor,

    and select Modify Item Name to modify the name of the register group. The

    system defines the default configuration items for the new peripheral register

    group, as shown in Fig. 4-4:

    Fig. 4-4 Default configuration items for register group

    The meanings of the various items are listed in Table 4-2:

    Table 4-2 Meanings of the various items of register groups properties

    Item DescriptionDefault

    value

    Function

    name

    Name of register grouping in the

    datasheet, and users can use the

    register group name of the data

    manual

    Prompt

    Offset

    address

    Offset address of the register group,

    and the offset of the processor

    registers base address based on the

    register group

    0

    Description Description of register group Null

  • 8/13/2019 RegEditor_UserGuide

    26/41

    4.1.5 Add a register

    A register group may contain multiple registers, and the list of the

    registers is displayed in the corresponding register group tree. Right click the

    name of the register group, and a right-key menu of the system as shown inFig. 3-9 will pop up. Select Add New Item to add a register, and select the

    right-key menu Modify Item Name to modify the name of the register. Default

    configuration items will be generated by the system for a new register, as

    shown in Fig. 4-5:

    Fig. 4-5 Default configuration items for the register

    The meanings of the various items are listed in Table 4-3:

    Table 4-3 Meanings of property items for the register

    Item DescriptionDefault

    value

    Word length Register length 32

    Offset address Register offset 0x0000

    Field numberNumber of fields contained in the

    register1

    Used bits maskUsed bit (mask), 1 means that the

    bit is being used0xffffffff

    Generic Read-

    Write

    Generics of read and write (0read

    only; 1read and write; 2write

    only)

    1

    Reset value Reset value 0x0

    Description Description of the register in words Prompt

  • 8/13/2019 RegEditor_UserGuide

    27/41

    4.1.6 Add a register field

    Register field is a combined description of register bits. One register may

    have multiple register fields or only one field, and multiple register fields are

    displayed in the corresponding register tree in a list. Right click the registername, and a right-key menu for the system as shown in Fig. 3-9 will pop up.

    Select Add New Item as the added register field for the current register, and

    select Modify Item Name to modify the name of the register field. The system

    will generate default configuration items for the register field, as shown in Fig.

    4-6:

    Fig. 4-6 Default configuration for register field

    The meanings of the various items are listed in Table 4-4:

    Table 4-4 Meanings of the various items for register field

    Item DescriptionDefault

    value

    Name Register field name Prompt

    Description Description of register fields in words Null

    Start Bit Start bit of the field in the register unit bit0

    End Bit End bit of the field in the register unit bit31

  • 8/13/2019 RegEditor_UserGuide

    28/41

    Value

    [0:31]

    Values of register fields and their

    meanings, namely, value N for register

    field and the corresponding [N], and

    description

    Null

  • 8/13/2019 RegEditor_UserGuide

    29/41

    4.2 View details of register

    Through the register details window, we can conveniently view the full

    name of the registers field, and the functions list, or, we can manually input

    configuration values to check the users configurations.

    4.2.1 Register details window

    The register details window provides the user with the most direct

    observation interface for the processor registers values and description, and

    it can conveniently and flexibly modify the values of the register.

    The register details window provides the user with detailed information

    about the register, including detailed name, access address, and specificmeaning of the register field. Users can input hexadecimal or binary values to

    modify the values of the register, or directly modify the values of the register

    field.

    Right click the register name, and use the right-key menu to select the

    Show Register item, and the register details window will pop up, as shown

    in Fig. 4-7:

  • 8/13/2019 RegEditor_UserGuide

    30/41

    Fig. 4-7 Register details window

    The register details window comprises the following contents:

    Dialog box header: to display the register name.

    Blue characters at the top of the dialog box: to display the completedescription of the current register.

    Register edit box (HEX Value):to display the hexadecimal values of

    the register, or directly modify the values of the register.

    Register edit box (Binary Value): to display the binary values of the

    register, or modify the register values.

    Register field:it is composed of one or multiple bits of the register unit.

    Pull-down box for selection (Select Option): to select the values of

    the current register field, and description.

    Register field data bit (bit): start bit and end bit of the register field.

    Register field name (Name): abbreviation of the register field.

    Register fields binary value (Bin):binary representation of register

    fields values, modify the values of the register field by double clicking the

    mouse, and there will be corresponding change to the values of the register

    edit box.

    Register field description (Desc): meaning of the current register field

    value.

    Screen prompt:to display the abbreviation for the register field, the

    complete description of the register field, and list and description of the

    register fields values, and the characters in red indicate the current register

    fields values and descriptions.

    To modify the values of the register, users can directly do it in the

    hexadecimal or binary edit box, or separately modify the values of the

    register field. To modify the values of the register field, users can double click

    the register field, or use the pull-down box for the register field formodification. The pull-down box of the register field is illustrated in Fig. 4-8:

  • 8/13/2019 RegEditor_UserGuide

    31/41

    Fig. 4-8 Pull-down box for register field

    For the usage of the register details window in the Embest IDE for ARM

    development environment, please refer to Section 7.6.2 of Embest IDE users

    manual.

  • 8/13/2019 RegEditor_UserGuide

    32/41

  • 8/13/2019 RegEditor_UserGuide

    33/41

    4.4 Import and export of processor register

    The import and export function of the register information record can

    enable users to add or save his own or customized register information

    records, and achieve information sharing.

    4.4.1 Import of register information

    Click the File Menu of the system or right click the mouse to select the

    Importoption to import a record containing complete register information.

    The imported file contains a complete piece of processor register information,

    so, users can import the records when the mouse is pointed at any location of

    the software.

    The import operation for information records will overwrite alias record

    items, and any first emerging name will create a record.

    Note: the object files to be imported or exported are text files

    composed of certain data structure with .txt as extension name, including

    register-related information, and users are not recommended to directly

    perform modification.

    4.4.2 Export of register information

    On the record name of any one processor, click the systems File Menu or

    right click the mouse to select Export Core, so as to export all the register

    record information of the current processor.

  • 8/13/2019 RegEditor_UserGuide

    34/41

    5. Operation examples

    5.1 Example for adding OKI register

    OKI M674000 series are ARM7 core processor products. First, add a

    processor manufacturer in the ARM7 core of the editor and name it OKI; add

    a processor item named ML674000 (or adding as per ML674001, M674002

    and ML674003, and here is only one example); add a register group named

    Watchdog Timer in example operation, and add three registers of the group.

  • 8/13/2019 RegEditor_UserGuide

    35/41

    Step 1: add processor manufacturer

    Right click the name of the ARM7 coreseries, and a right-key menu will

    pop up as shown in Fig. 3-9. Select Add New Item to add the processor

    manufacturer, and select Modify Item name to modify the name of the

    processor manufacturer named OKI.

  • 8/13/2019 RegEditor_UserGuide

    36/41

    Step 2: add a processor

    Right click the Little Endianmode of the OKI, and a right-key menu will

    pop up as shown in Fig. 3-9. Select Add New Item to add a new processor,

    and select Modify Item name to modify the name of the processor named OKI;

    input the lowest access address of the register by referring to the OKI 674000

    datasheet, namely, 0x78000000, and the correspondingly, set the following

    items in the property window as follows:

    1) Double click the Default base address line, enter 0x78000000,

    and the base address of the processor register;

    2) Double click the Current base address line, enter 0x78000000,

    and the setting is the same as the base address.

    The operation result is illustrated in Fig. 5-1:

    Fig. 5-1 Add an ARM7 core processor ML674000

  • 8/13/2019 RegEditor_UserGuide

    37/41

    Step 3: add a register group

    Right click ML674000, and a right-key menu as shown in Fig. 3-9 will

    pop up. Select Add New Item to add a processor register group, and select

    Modify Item Name to modify the name of the register group to be namedWatchdog Timer; double click the Function name line and enter WDT (in

    case of cooperation with Embest IDE for ARM, this is just the name of the

    register group displayed on the register window, which can be customized);

    select Watchdog Timer, and refer to the OKI 674000 datasheet, and

    correspondingly the setting in the property window is shown as below:

    1) Double click the Offset addressline, and enter the base address

    of the register group of 0x3FE00000 = 0xB7E00000 - 0x78000000;

    2) Double click the Description line, enter the description words for

    the register group: Watchdog timer group. (in case of

    cooperation with Embest IDE for ARM, this will be the buoy prompt

    of the register group for register window).

    The operation result is illustrated in Fig. 5-2:

    Fig. 5-2 Add register group Watchdog timer

  • 8/13/2019 RegEditor_UserGuide

    38/41

  • 8/13/2019 RegEditor_UserGuide

    39/41

    Step 5: add a register field

    Right click on the WDTBCON register, and a right-key menu for the

    system as shown in Fig. 3-9 will pop up. Select Add New Item to add a

    register field for the current register, and select Modify Item Name to modify

    the name f the register field to be named WDCLK. Refer to the OKI 674000

    datasheet, and we can get the related WDTBCON register information as

    shown in Fig. 5-4:

    Fig. 5-4 Register field WDCLK in ML674000 data manual

    Correspondingly, the settings in the property window are as follows:

    7) Double click the Name line to enter WDCLK (in case of

    cooperation with Embest IDE for ARM, this will be the register

    field name displayed in the register window, and the symbols

    defined in the data manual are recommended);

    8) Double click the Description line to enter These bits specify

    the frequency divisor for deriving the operating clock from

    CCLK, namely, description of register field;

    9) Double click the Start-Bit line to enter 0, indicating that the

    register field starts from the register unit bit [0];

  • 8/13/2019 RegEditor_UserGuide

    40/41

    10) Double click the End-Bit line to enter 1, indicating that the

    register field ends from the register unit bit [1];

    11) Double click the Value[0:3] line, and respectively enter the

    meanings of the corresponding to the register field values 0-3

    in the processing data menu, namely:

    Value0 line input: CCLK/32; Value1 line input: CCLK/64;

    Value2 line input: CCLK/128; Value3 line input: CCLK/256;

    The operation result is illustrated in Fig. 5-5:

    Fig. 5-5 Add register field WDCLK

    Refer to the add method for the WDCLK register field and the datasheet,

    similarly, we can add other register fields for the register.

    Refer to the five operation steps mentioned above and the datasheet,

    similarly, we can add other register groups of ML674000 processor.

  • 8/13/2019 RegEditor_UserGuide

    41/41