15
15
15
15
HW resources on Main board for instance PC-AT Keyboard interface
encapsulation are also „beaned“ .
Other beans could be obtained on
www.processorexpert.com/devkit16
created by yourself from your existing sources, for instance FFT (Fast Fourier
transform). Another beans can accumulate other existing beans – they can
inherit their properties, methods events.
Imagine that you want share a bean with other developers. And such a bean can
drive LED segment display. Because it is used often for different hardware
configurations – on different CPU pins – then it must be portable and indepedent
on CPU resources – port pins on which it is connected. To refresh it a timer is
needed, also portable.
Such beans are called SW beans. SW beans can be pure SW beans (FFT) or can
inherit even multiple beans, which encapsulate HW resources. The advantage is
independence on physical layer, portability and share of once written and tested
code.
For our example we simply choose BitIO, BitsIO or ByteIO and TimerInt beans
from delivered bean library as parents. New LED display bean will provide
properties of bean reference type for this bean. This allows in design time for
new bean access its parents properties and define physical connection pins or
timer resources. Additionally new bean will have its own properties and
methods. Methods can be constructed using parent beans methods. The same
situation is with events.
Don’t be afraid about the complexity of this – simply choose from Processor
Expert Tools menu Beans Wizard tool, which arranges all for you. You should
only enter the code of methods and events, save new bean and install it on Beans
Palette or share it with others. The interested beans could be offered for other
users using DevKit16 support WEB site.
Additional information about Processor Expert and beans libraries please find in
its online help or in
site.
S W I N S T A L L A T I O N
Each software – Softune and Processor Expert
(TM)
has its own installation. You
should find 16bit tools full installation on FUJITSU Softune CD and run its
setup.exe. On DevKit16 CD choose directory “Install” and run setup.exe.
Installation will navigate you, for documentation reading you need to install also
Acrobat Reader and Microsoft compressed help support.
Design your own beans
and share it with others
Beans Wizard
Build your own beans
from other ones using
inheritance