Bean Inspector

Bean inspector is one of the Inspector window variants. It allows to setup Properties, Methods, and Events of a bean. Use command Help | Help on Bean from Bean Inspector menu to see documentation for currently opened bean.

Note: Property settings influencing the hardware can often be better presented by the CPU package view using Target CPU window. See chapter Target CPU for details.

 

Figure 1 - Bean Inspector Window

The Comments page allows the user to write any comment about the bean or setting used. This comment will be displayed in the hint when the mouse cursor will be placed on the bean.

The Build options page is present only in the CPU bean and it provides access to the settings of the compiler (or debugger) selected in Project Options. These settings are different for each compiler (or debugger), and are reset every time the compiler (or debugger) is changed.

The Used page shows list of the CPU bean resources. The user can also manually block individual resources for using them in Processor Expert.
The page consists of the three columns:

  • First shows the name of the resource. Resources are in groups according to which device they belong to.
  • Second column allows the user to reserve resource (for example pin) for external module. Click on icon to reserve/free a resource. Reserved resource could not be use in Processor expert any more.
  • Third column shows the current status of the resource and the name of the bean which uses it (if the resource is already used).

 

For menu and view mode description and other common Inspector window features see chapter Inspector and Inspector Items.

Pin sharing

Some beans allow sharing of the pins. This ability is indicated by a presence of the pin sharing button in the pin selection property line. See chapter Pin Sharing for details.

Bean level

The Bean Level is displayed at the bottom of the window besides the view mode buttons. It describes the amount of the peripheral abstraction and a cross platform portability.

  • High Level Beans - highest level of peripheral abstraction. An application built from these beans can be easily ported to another microcontroller supported by the Processor Expert.
  • Low Level Beans - The beans that are dependent on the peripheral structure to allow the user to benefit from a non-standard features of a peripheral.
  • Peripheral Initialization Beans - These beans are on the lowest level of abstraction. An interface of such beans is based on the set of peripheral control registers. These beans cover all features of the peripherals and were designed for initialization of these peripherals (contain only one method "Init" and no events).

Please see chapter Bean categories for more information.

 

[top of page]