Fujitsu DevKit16 User Manual page 16

Table of Contents

Advertisement

Bean properties,
methods and events
Use events to build ISRs
fast
CPU bean
PE as a virtual
application engineer
Share your code with
your virtual application
engineer !
Pictures, files and
sounds in your
application
(TM)
On Processor Expert
call Embedded Beans
required functionality usually used for microcontroller applications – from
handling port bit operations, external interrupts, timer modes up to serial
asynchronous/synchronous communications, A/D converter, I
Bean provides clear interface, which can be controlled by an user in design time
using Beans Inspector. Beans Inspector has several pages for bean properties,
methods and events.
By setting the bean properties, user defines future behavior of the bean in
runtime. PE checks your setting in desing time - including timing and generated
code !
User can also choose which methods will be included in an application, because
they are needed - and which not.
Events, if used, can be raised by interrupt from HW resource (timer, SIO,..) or
by pure software reason (overflow,..) in application runtime. You can enable or
disable interrupts using bean methods and define priority for raise of event and
for executing its ISR – Interrupt Service Routine. HW ISR provided by bean
handles reason of interrupt. If the interrupt vector is shared by two (or more)
resources then this ISR provides identification of resource. Then user is notified
by calling of user event handling code.
CPU bean has special meaning - you can use more instances of it, and each of
these instances can hold different setting. This makes the application design time
with Processor Expert and any microcontroller very short. First choose and
setup CPU bean, add another ones, modify their properties, select methods and
events and choose Codesign. Processor Expert generates all code from beans
according your settings, which is well commented. You can choose View | View
All Generated Sources and in viewer, the CPU module with resources
initialization part and other beans modules appears.
This is of course only part of application code, which was created by „virtual
application engineer"- Processor Expert
solution bank. Solution bank is created from hand written and tested code
optimized for efficiency. This solutions are selected and configured in code
generation process.
Choose View | View/Edit Main&Event code and two modules appear in editor
– pregenerated main and event module. Enter your code to desired events,
provide main code, add existing sources – and build application using classic
tools (select Tools | Make from the main menu) – compiler, assembler, load to
DevKit16, debug it before final burn-in – these are typical steps when working
(TM)
with Processor Expert
Another beans help you to include pictures, files, sounds, stringlists to your
application very quickly.
beans palette you'll find many components, which we
(TM)
. This component were selected to cover the most
(TM)
.
14
14
14
14
2
C, CAN and etc.
CPU knowledge system and

Advertisement

Table of Contents
loading

Table of Contents