]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/log
jenkicar/rpp-simulink.git
9 years agoUpdate submodule versions
Michal Sojka [Wed, 4 Feb 2015 16:34:14 +0000 (17:34 +0100)]
Update submodule versions

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Wed, 4 Feb 2015 16:33:18 +0000 (17:33 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agoIgnore release files and directories
Michal Sojka [Wed, 4 Feb 2015 16:32:41 +0000 (17:32 +0100)]
Ignore release files and directories

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Wed, 4 Feb 2015 16:28:01 +0000 (17:28 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agoFurther documentation updates
Michal Sojka [Wed, 4 Feb 2015 16:27:26 +0000 (17:27 +0100)]
Further documentation updates

9 years agoMake checkboxes with linux only downloading features disabled on Windows
Michal Horn [Wed, 4 Feb 2015 15:24:49 +0000 (16:24 +0100)]
Make checkboxes with linux only downloading features disabled on Windows

9 years agoReview Chapter 2 + do few other things
Michal Sojka [Wed, 4 Feb 2015 14:28:24 +0000 (15:28 +0100)]
Review Chapter 2 + do few other things

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Wed, 4 Feb 2015 12:47:25 +0000 (13:47 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: Generate version.tex before invoking latexmk
Michal Sojka [Wed, 4 Feb 2015 12:46:22 +0000 (13:46 +0100)]
doc: Generate version.tex before invoking latexmk

LaTeX then produces less error messages and it is easier to spot real
problems.

9 years agoUpdate documentation
Michal Sojka [Mon, 2 Feb 2015 16:01:36 +0000 (17:01 +0100)]
Update documentation

9 years agoFix some TODOs in doc
Michal Sojka [Thu, 29 Jan 2015 10:53:52 +0000 (11:53 +0100)]
Fix some TODOs in doc

9 years agodoc: More fixes
Michal Sojka [Wed, 28 Jan 2015 23:48:32 +0000 (00:48 +0100)]
doc: More fixes

9 years agoUpdated doc up to Section 2.2
Michal Sojka [Wed, 28 Jan 2015 15:27:07 +0000 (16:27 +0100)]
Updated doc up to Section 2.2

9 years agoSwitch from bibtex to biblatex
Michal Sojka [Wed, 28 Jan 2015 13:36:02 +0000 (14:36 +0100)]
Switch from bibtex to biblatex

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Fri, 12 Dec 2014 17:13:08 +0000 (18:13 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
doc/rpp_simulink.tex

9 years agodoc: Improve formating of title and some figures
Michal Sojka [Fri, 12 Dec 2014 17:06:41 +0000 (18:06 +0100)]
doc: Improve formating of title and some figures

9 years agodoc: Replace bitmap logo with a vector one
Michal Sojka [Fri, 12 Dec 2014 17:06:15 +0000 (18:06 +0100)]
doc: Replace bitmap logo with a vector one

9 years agoFix release target for RM48
Michal Sojka [Fri, 12 Dec 2014 16:46:52 +0000 (17:46 +0100)]
Fix release target for RM48

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Horn [Fri, 12 Dec 2014 16:33:37 +0000 (17:33 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: add header and footer
Michal Horn [Fri, 12 Dec 2014 16:31:57 +0000 (17:31 +0100)]
doc: add header and footer

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Fri, 12 Dec 2014 14:33:30 +0000 (15:33 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
Makefile
rpp/blocks/rpp_lib.slx
rpp/lib

9 years agoUpdate block masks by running rpp_update_doc.m
Michal Sojka [Fri, 12 Dec 2014 14:17:41 +0000 (15:17 +0100)]
Update block masks by running rpp_update_doc.m

Changelog:
Processing rpp_lib/Analog Input
Processing rpp_lib/Analog Output
Processing rpp_lib/CAN Receive
--- sfunction_canreceive.MaskHelp.old 2014-12-12 15:17:32.064470220 +0100
+++ sfunction_canreceive.MaskHelp.new 2014-12-12 15:17:32.064470220 +0100
@@ -1,7 +1,7 @@
 <p>This block allows receiving messages from the CAN bus. It can be configured for any of the CAN ports (modules) CAN1, CAN2 or CAN3.</p>
 <p>The acceptance rules for message reception can be specified by a <em>Message ID</em> parameter and optionally by a <em>Message ID mask</em>. Specifying the mask allows to receive messages with multiple IDs. The block supports both, the Standard (11b ID) and the Extended (29b ID) frame formats. Note that if Mixed message ID type is selected, the blocks will receive both frame types, but the Standard Message ID and optionally the Message ID mask has to be shifted by 18 bits to the left to correspond with the extended IDs and masks. For example, if Message ID parameter is set to 0x80000 and mask to 0x1ffbfff, the block will receive SFF messages with IDs 0x002 and 0x003 and EFF IDs 0x00080000 and 0x000c0000.</p>
-<p>The mailbox number can be assigned automatically or manually. Automatic mailbox numbers are generated in ascending order from 0 to 31. Every mailbox must have a unique number. It is possible to mix blocks with automatically and manually assigned mailboxes. If the manually assigned mailbox number would collide with the automatic one then the automatically generated block will get assigned a next higher non-colliding ID. The mailbox numbers are shared between CAN Transmit and CAN Receive blocks with the same CAN port (module) parameter.</p>
-<p>The order in which the messages are received and their priority depends on their mailbox numbers. The lower the mailbox number is, the higher is the priority. If you want to have the priority of the messages under control, you have to specify the numbers of the mailboxes manually.</p>
+<p>The mailbox number can be assigned automatically or manually. Automatic mailbox numbers are generated in ascending order from 1 to 64. Every mailbox must have a unique number. It is possible to mix blocks with automatically and manually assigned mailboxes. If the manually assigned mailbox number would collide with the automatic one then the automatically generated block will get assigned a next higher non-colliding number. The mailbox numbers are shared between CAN Transmit and CAN Receive blocks with the same CAN port (module) parameter.</p>
+<p>On message reception, the mailboxes and their acceptance filters are consulted in the order of increasing mailbox number. If a message can be accepted by more than one block you may want to assign the mailbox number manually to have better control over which block receives the message.</p>
 <p>The output of this block is a message data in selected format: uint8, uint16, uint32 or CAN_MESSAGE. The CAN_MESSAGE object can be unpacked by <code>CAN Unpack</code> block.</p>
 <p>Every time a message is received, the function call on <code>f()</code> output signal is triggered and the received message data is appears on the <code>Msg</code> output port. See <code>cantransmit.slx</code> demo for examples of different configurations and the usage of the CAN blocks.</p>
 <p>In order to use this block, there must be a <code>CAN Configure</code> block in the model.</p>

Processing rpp_lib/CAN Setup
Processing rpp_lib/CAN Transmit
--- sfunction_cantransmit.MaskHelp.old 2014-12-12 15:17:32.716459327 +0100
+++ sfunction_cantransmit.MaskHelp.new 2014-12-12 15:17:32.716459327 +0100
@@ -1,6 +1,6 @@
 <p>This block allows to send a message to the CAN bus. It can be configured for any of the CAN ports (modules) CAN1, CAN2 or CAN3.</p>
 <p>The message data are read from <code>Msg</code> input port. The data type is decided automatically from the input, but it is restricted to uint8, uint16, uint32 and CAN_MESSAGE. The CAN_MESSAGE object can be created by the <code>CAN Pack</code> block.</p>
 <p>The message sent by the block will have an ID assigned according to the number in the <em>Message ID</em> parameter. The block supports both types of message IDs: Standard (11b) and Extended (29b). If CAN_MESSAGE is used as input type, the message ID stored in CAN_MESSAGE object is ignored and the ID from the parameter of this block is used instead.</p>
-<p>The mailbox number can be assigned automatically or manually. Automatic mailbox numbers are generated in ascending order from 0 to 31. Every mailbox must have a unique number. It is possible to mix blocks with automatically and manually assigned mailboxes. If the manually assigned mailbox number would collide with the automatic one then the automatically generated block will get assigned a next higher non-colliding ID. The mailbox numbers are shared between CAN Transmit and CAN Receive blocks with the same CAN port (module) parameter.</p>
-<p>The order in which the messages are transmitted depends on their mailbox numbers. The lower the mailbox number is, the higher is the priority of the message and the sooner will it be transmitted. If you want to have the priority of the messages under control, you have to specify the numbers of the mailboxes manually.</p>
+<p>The mailbox number can be assigned automatically or manually. Automatic mailbox numbers are generated in ascending order from 1 to 64. Every mailbox must have a unique number. It is possible to mix blocks with automatically and manually assigned mailboxes. If the manually assigned mailbox number would collide with the automatic one then the automatically generated block will get assigned a next higher non-colliding number. The mailbox numbers are shared between CAN Transmit and CAN Receive blocks with the same CAN port (module) parameter.</p>
+<p>If there is multiple messages waiting for transmission, the order in which thet are transmitted depends on their mailbox numbers and not on the message IDs. The lower the mailbox number is, the sooner the message will be transmitted. If you want to have this under control, you should specify the numbers of the mailboxes manually.</p>
 <p>In order to use this block, there must be a <code>CAN Configure</code> block in the model.</p>

Processing rpp_lib/Configure FlexRay node
Processing rpp_lib/Configure RX buffer
Processing rpp_lib/Configure TX buffer
Processing rpp_lib/Digital Input
Processing rpp_lib/Digital Input Configure
Processing rpp_lib/Digital Output
Processing rpp_lib/H-Bridge Control
Processing rpp_lib/IRC Input
Processing rpp_lib/Overrun Detection
Processing rpp_lib/Power Output
Processing rpp_lib/SD-RAM Log Data
Processing rpp_lib/Serial Configure
Processing rpp_lib/Serial Printf
Processing rpp_lib/Serial Receive
Processing rpp_lib/Serial Send
[\bWarning: an error occurred while parsing class fxptui.explorer:
Invalid data type.
]\b

9 years agoCAN: Clarify block help text
Michal Sojka [Fri, 12 Dec 2014 14:15:04 +0000 (15:15 +0100)]
CAN: Clarify block help text

9 years agoImprove release target
Michal Sojka [Fri, 12 Dec 2014 13:37:39 +0000 (14:37 +0100)]
Improve release target

Previously, the release target copied the library headers from the git
work tree. This could result in various garbage to be included in the
release zip. Release preparation is now reworked to copy the library
header files from the library release directory instead from the work
tree. This way, no unwanted file should leak into the release.

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Horn [Fri, 12 Dec 2014 13:16:54 +0000 (14:16 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: add description of using makefiles
Michal Horn [Fri, 12 Dec 2014 13:01:18 +0000 (14:01 +0100)]
doc: add description of using makefiles

9 years agodoc: mention the need for an embedded coder
Michal Horn [Fri, 12 Dec 2014 09:21:23 +0000 (10:21 +0100)]
doc: mention the need for an embedded coder

Fixes #1060

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Horn [Thu, 11 Dec 2014 16:34:22 +0000 (17:34 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
rpp/blocks/rpp_lib.slx

9 years agodoc: small fix
Michal Horn [Thu, 11 Dec 2014 16:31:43 +0000 (17:31 +0100)]
doc: small fix

9 years agoLibrary update
Michal Horn [Thu, 11 Dec 2014 15:54:34 +0000 (16:54 +0100)]
Library update

9 years agoLibrary update
Michal Horn [Thu, 11 Dec 2014 15:51:21 +0000 (16:51 +0100)]
Library update

9 years agoRename os directories and target config file from TMS570 to RM48
Michal Horn [Thu, 11 Dec 2014 15:41:46 +0000 (16:41 +0100)]
Rename os directories and target config file from TMS570 to RM48

Move the target config file to loadti directory, where it is more logical
as it is used by the loadti scripts.

9 years agodoc: Update CAN blocks description
Michal Horn [Wed, 10 Dec 2014 15:24:43 +0000 (16:24 +0100)]
doc: Update CAN blocks description

9 years agoUpdate CAN block description
Michal Horn [Wed, 10 Dec 2014 15:23:27 +0000 (16:23 +0100)]
Update CAN block description

9 years agodoc: remove ulut and TMS570 string from the layer description image
Michal Horn [Wed, 10 Dec 2014 15:11:48 +0000 (16:11 +0100)]
doc: remove ulut and TMS570 string from the layer description image

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Horn [Wed, 10 Dec 2014 15:09:03 +0000 (16:09 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
doc/rpp_simulink.tex

9 years agodoc: complete the CAN blocks description
Michal Horn [Wed, 10 Dec 2014 14:57:31 +0000 (15:57 +0100)]
doc: complete the CAN blocks description

9 years agodoc: fix sentences and formating
Michal Horn [Wed, 10 Dec 2014 14:55:55 +0000 (15:55 +0100)]
doc: fix sentences and formating

9 years agodoc: add halcogen to the software tools and requirements
Michal Horn [Wed, 10 Dec 2014 14:55:17 +0000 (15:55 +0100)]
doc: add halcogen to the software tools and requirements

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Horn [Wed, 10 Dec 2014 09:58:13 +0000 (10:58 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: tune launch description in project setup
Michal Horn [Wed, 10 Dec 2014 09:57:39 +0000 (10:57 +0100)]
doc: tune launch description in project setup

9 years agoAdd target configuration file to the release package
Michal Horn [Wed, 10 Dec 2014 09:42:34 +0000 (10:42 +0100)]
Add target configuration file to the release package

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Horn [Wed, 10 Dec 2014 09:29:12 +0000 (10:29 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
doc/rpp_simulink.tex
doc/test-sw

9 years agodoc: add images, which I forgot to stage in previous commit
Michal Horn [Tue, 9 Dec 2014 15:46:58 +0000 (16:46 +0100)]
doc: add images, which I forgot to stage in previous commit

9 years agodoc: fix line width
Michal Horn [Tue, 9 Dec 2014 15:41:11 +0000 (16:41 +0100)]
doc: fix line width

9 years agodoc: enhance project setup section
Michal Horn [Tue, 9 Dec 2014 15:40:59 +0000 (16:40 +0100)]
doc: enhance project setup section

9 years agoFix simulink release Makefile
Michal Horn [Tue, 9 Dec 2014 15:08:38 +0000 (16:08 +0100)]
Fix simulink release Makefile

9 years agodoc: add HW description section
Michal Horn [Tue, 9 Dec 2014 12:04:21 +0000 (13:04 +0100)]
doc: add HW description section

9 years agodoc: remove TMS570 references, add RM48 references
Michal Horn [Tue, 9 Dec 2014 12:03:45 +0000 (13:03 +0100)]
doc: remove TMS570 references, add RM48 references

9 years agodoc: change references on TMS570 to Rm48
Michal Horn [Tue, 9 Dec 2014 12:02:51 +0000 (13:02 +0100)]
doc: change references on TMS570 to Rm48

9 years agodoc: fix latex warnings
Michal Horn [Fri, 5 Dec 2014 16:47:43 +0000 (17:47 +0100)]
doc: fix latex warnings

9 years agodoc: tune code formatting
Michal Horn [Fri, 5 Dec 2014 16:47:27 +0000 (17:47 +0100)]
doc: tune code formatting

9 years agodoc: add project installation section
Michal Horn [Fri, 5 Dec 2014 16:46:42 +0000 (17:46 +0100)]
doc: add project installation section

9 years agoMerge branch 'maint-rm48' into rm48/master eaton-0.1-beta
Michal Sojka [Thu, 4 Dec 2014 10:57:17 +0000 (11:57 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: Use all tags for version number
Michal Sojka [Thu, 4 Dec 2014 10:56:51 +0000 (11:56 +0100)]
doc: Use all tags for version number

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Thu, 4 Dec 2014 10:53:24 +0000 (11:53 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agoAdd make release target to generate all release files
Michal Sojka [Thu, 4 Dec 2014 10:52:50 +0000 (11:52 +0100)]
Add make release target to generate all release files

9 years agodoc: Update test-sw submodule
Michal Sojka [Thu, 4 Dec 2014 10:42:06 +0000 (11:42 +0100)]
doc: Update test-sw submodule

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Thu, 4 Dec 2014 10:41:46 +0000 (11:41 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: Clearpage
Michal Sojka [Thu, 4 Dec 2014 10:41:24 +0000 (11:41 +0100)]
doc: Clearpage

9 years agodoc: Remove TMS demos, add RM demos, remove unneeded images
Michal Horn [Thu, 4 Dec 2014 09:07:36 +0000 (10:07 +0100)]
doc: Remove TMS demos, add RM demos, remove unneeded images

9 years agodoc: add actual RPP simulink library image
Michal Horn [Thu, 4 Dec 2014 08:59:32 +0000 (09:59 +0100)]
doc: add actual RPP simulink library image

9 years agoAdd complex demo
Michal Horn [Thu, 4 Dec 2014 06:39:49 +0000 (07:39 +0100)]
Add complex demo

The demo contains rotating LED controlled by FSM for DOUT demonstration,
switching of the direction of the rotation by button for DIN demonstration,\
simulation of the button by a CAN message for CAN RX demonstration,
Sending the LED state as a CAN message to demonstrate CAN TX,
some printing on the Serial Interface.

9 years agodoc: Fix LaTeX errors
Michal Sojka [Thu, 4 Dec 2014 01:50:53 +0000 (02:50 +0100)]
doc: Fix LaTeX errors

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Thu, 4 Dec 2014 01:39:46 +0000 (02:39 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
doc/test-sw

9 years agoUpdate test-sw submodule
Michal Sojka [Thu, 4 Dec 2014 01:36:33 +0000 (02:36 +0100)]
Update test-sw submodule

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Thu, 4 Dec 2014 01:26:30 +0000 (02:26 +0100)]
Merge branch 'maint-rm48' into rm48/master

Conflicts:
doc/test-sw

9 years agoUpdate test-sw submodule
Michal Sojka [Thu, 4 Dec 2014 01:25:45 +0000 (02:25 +0100)]
Update test-sw submodule

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Thu, 4 Dec 2014 01:05:29 +0000 (02:05 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: Clarify external mode status
Michal Sojka [Thu, 4 Dec 2014 01:05:16 +0000 (02:05 +0100)]
doc: Clarify external mode status

9 years agodoc: Nice line spacing in the title
Michal Sojka [Thu, 4 Dec 2014 01:01:38 +0000 (02:01 +0100)]
doc: Nice line spacing in the title

9 years agodoc: RM48 specific changes
Michal Sojka [Thu, 4 Dec 2014 00:50:41 +0000 (01:50 +0100)]
doc: RM48 specific changes

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Thu, 4 Dec 2014 00:50:17 +0000 (01:50 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: Formatting and content updates
Michal Sojka [Thu, 4 Dec 2014 00:48:35 +0000 (01:48 +0100)]
doc: Formatting and content updates

9 years agoUpdate rpp/lib submodule
Michal Sojka [Wed, 3 Dec 2014 22:28:39 +0000 (23:28 +0100)]
Update rpp/lib submodule

9 years agodoc: Update title page
Michal Sojka [Wed, 3 Dec 2014 22:28:04 +0000 (23:28 +0100)]
doc: Update title page

9 years agoUpdate test-sw to rm48/master branch
Michal Sojka [Wed, 3 Dec 2014 22:17:11 +0000 (23:17 +0100)]
Update test-sw to rm48/master branch

9 years agoMerge branch 'maint-rm48' into rm48/master
Michal Sojka [Wed, 3 Dec 2014 19:35:12 +0000 (20:35 +0100)]
Merge branch 'maint-rm48' into rm48/master

9 years agodoc: Small fix
Michal Sojka [Wed, 3 Dec 2014 19:34:18 +0000 (20:34 +0100)]
doc: Small fix

9 years agodoc: Decrease TOC depth
Michal Sojka [Wed, 3 Dec 2014 19:34:06 +0000 (20:34 +0100)]
doc: Decrease TOC depth

This makes table of content shorter and the document is easier to navigate.

9 years agoUpdate .gitignore
Michal Sojka [Wed, 3 Dec 2014 19:17:13 +0000 (20:17 +0100)]
Update .gitignore

9 years agodoc: Generate rpp-test-sw command reference automatically
Michal Sojka [Wed, 3 Dec 2014 19:16:06 +0000 (20:16 +0100)]
doc: Generate rpp-test-sw command reference automatically

9 years agoAdd rpp-test-sw as a submodule
Michal Sojka [Wed, 3 Dec 2014 19:09:23 +0000 (20:09 +0100)]
Add rpp-test-sw as a submodule

This will be used to include the documentation of rpp-test-sw commands
in the PDF documentation.

9 years agoAdd headers with licence where missing
Michal Horn [Wed, 3 Dec 2014 15:47:18 +0000 (16:47 +0100)]
Add headers with licence where missing

9 years agoUpdate links to the renamed blocks in the rpp library
Michal Horn [Wed, 3 Dec 2014 15:36:52 +0000 (16:36 +0100)]
Update links to the renamed blocks in the rpp library

9 years agoUpdate block masks by running rpp_update_doc.m
Michal Horn [Wed, 3 Dec 2014 15:28:27 +0000 (16:28 +0100)]
Update block masks by running rpp_update_doc.m

Changelog:
Processing rpp_lib/Analog Input (AIN)
--- sfunction_ain.Name.old 2014-12-03 16:28:20.916012783 +0100
+++ sfunction_ain.Name.new 2014-12-03 16:28:20.916012783 +0100
@@ -1 +1 @@
-Analog Input (AIN)
\ Chybí znak konce řádku na konci souboru
+Analog Input
\ Chybí znak konce řádku na konci souboru

Processing rpp_lib/CAN Receive
Processing rpp_lib/CAN Setup
Processing rpp_lib/CAN Transmit
Processing rpp_lib/Digital Input (DIN)
--- sfunction_din.MaskType.old 2014-12-03 16:28:22.184012808 +0100
+++ sfunction_din.MaskType.new 2014-12-03 16:28:22.184012808 +0100
@@ -1 +1 @@
-RPP Digital input
\ Chybí znak konce řádku na konci souboru
+RPP Digital Input
\ Chybí znak konce řádku na konci souboru

--- sfunction_din.MaskPromptString.old 2014-12-03 16:28:22.344012811 +0100
+++ sfunction_din.MaskPromptString.new 2014-12-03 16:28:22.344012811 +0100
@@ -1 +1 @@
-Port type:|Pin [0-7]|Input Type:
\ Chybí znak konce řádku na konci souboru
+Port type:|Pin number [0–7]:|Input Type:
\ Chybí znak konce řádku na konci souboru

--- sfunction_din.Name.old 2014-12-03 16:28:22.508012815 +0100
+++ sfunction_din.Name.new 2014-12-03 16:28:22.508012815 +0100
@@ -1 +1 @@
-Digital Input (DIN)
\ Chybí znak konce řádku na konci souboru
+Digital Input
\ Chybí znak konce řádku na konci souboru

Processing rpp_lib/Digital Output (DOUT)
--- sfunction_dout.MaskType.old 2014-12-03 16:28:22.600012816 +0100
+++ sfunction_dout.MaskType.new 2014-12-03 16:28:22.600012816 +0100
@@ -1 +1 @@
-RPP Digital output
\ Chybí znak konce řádku na konci souboru
+RPP Digital Output
\ Chybí znak konce řádku na konci souboru

--- sfunction_dout.MaskPromptString.old 2014-12-03 16:28:22.760012820 +0100
+++ sfunction_dout.MaskPromptString.new 2014-12-03 16:28:22.760012820 +0100
@@ -1 +1 @@
-Port type:|Pin [0-7]|Initial output value [0,1]:|Output Type:
\ Chybí znak konce řádku na konci souboru
+Port type:|Pin number [0–7]:|Initial output value [0,1]:|Output Type:
\ Chybí znak konce řádku na konci souboru

--- sfunction_dout.Name.old 2014-12-03 16:28:22.932012823 +0100
+++ sfunction_dout.Name.new 2014-12-03 16:28:22.932012823 +0100
@@ -1 +1 @@
-Digital Output (DOUT)
\ Chybí znak konce řádku na konci souboru
+Digital Output
\ Chybí znak konce řádku na konci souboru

Processing rpp_lib/Overrun Detection
Processing rpp_lib/Serial Configure
--- sfunction_scic.MaskType.old 2014-12-03 16:28:23.380012832 +0100
+++ sfunction_scic.MaskType.new 2014-12-03 16:28:23.380012832 +0100
@@ -1 +1 @@
-RPP Serial Communication Interface Configuration
\ Chybí znak konce řádku na konci souboru
+RPP Serial Configure
\ Chybí znak konce řádku na konci souboru

Processing rpp_lib/Serial Printf
--- sfunction_scip.MaskType.old 2014-12-03 16:28:23.756012840 +0100
+++ sfunction_scip.MaskType.new 2014-12-03 16:28:23.756012840 +0100
@@ -1 +1 @@
-RPP Serial Communication Interface Printf
\ Chybí znak konce řádku na konci souboru
+RPP Serial Printf
\ Chybí znak konce řádku na konci souboru

Processing rpp_lib/Serial Receive
--- sfunction_scir.MaskType.old 2014-12-03 16:28:24.152012848 +0100
+++ sfunction_scir.MaskType.new 2014-12-03 16:28:24.152012848 +0100
@@ -1 +1 @@
-RPP Serial Communication Interface Receive
\ Chybí znak konce řádku na konci souboru
+RPP Serial Receive
\ Chybí znak konce řádku na konci souboru

Processing rpp_lib/Serial Send
--- sfunction_scis.MaskType.old 2014-12-03 16:28:24.524012855 +0100
+++ sfunction_scis.MaskType.new 2014-12-03 16:28:24.524012855 +0100
@@ -1 +1 @@
-RPP Serial Communication Interface Send
\ Chybí znak konce řádku na konci souboru
+RPP Serial Send
\ Chybí znak konce řádku na konci souboru

[\bWarning: an error occurred while parsing class fxptui.explorer:
Invalid data type.
]\b

9 years agoUnify capitalization of block names
Michal Sojka [Wed, 3 Dec 2014 15:01:56 +0000 (16:01 +0100)]
Unify capitalization of block names

9 years agoFix DIN/DOUT block mask prompts
Michal Sojka [Wed, 3 Dec 2014 13:20:01 +0000 (14:20 +0100)]
Fix DIN/DOUT block mask prompts

Note is only included in PDF documentation.

9 years agoShow port name on the mask of the Simulink RPP library DIN and DOUT blocks
Michal Horn [Wed, 3 Dec 2014 10:04:51 +0000 (11:04 +0100)]
Show port name on the mask of the Simulink RPP library DIN and DOUT blocks

Fixes: #1054
9 years agoUpdate rpp_lib masks by running rpp_update_doc
Michal Sojka [Tue, 2 Dec 2014 06:43:32 +0000 (07:43 +0100)]
Update rpp_lib masks by running rpp_update_doc

The diff between old and new content, produced by `make diff-doc` is
below:

Processing rpp_lib/Analog Input (AIN)
rpp_lib/Analog Input (AIN): MaskDescription not up-to-date
--- sfunction_ain.MaskDescription.old 2014-12-02 07:42:55.995932632 +0100
+++ sfunction_ain.MaskDescription.new 2014-12-02 07:42:55.995932632 +0100
@@ -1,5 +1,3 @@
-Gets the analog value of the specified analog input pin on the RPP board.
-
-The value is an unsigned 16 bit integer between 0-4095 (12 bit ADC).
-
-If an error is detected while getting the value, the ErrFlag is set high.
\ No newline at end of file
+<p>Gets the analog value of the specified analog input pin on the RPP board.</p>
+<p>The value is an unsigned 16 bit integer between 0–4095 (12 bit ADC).</p>
+<p>If an error is detected while reading the value, the ErrFlag is set high.</p>

rpp_lib/Analog Input (AIN): MaskPromptString not up-to-date
--- sfunction_ain.MaskPromptString.old 2014-12-02 07:42:56.075931344 +0100
+++ sfunction_ain.MaskPromptString.new 2014-12-02 07:42:56.075931344 +0100
@@ -1 +1 @@
-Pin number [1-16]:
\ No newline at end of file
+Pin number [1–16]:
\ No newline at end of file

rpp_lib/Analog Input (AIN): MaskHelp not up-to-date
--- sfunction_ain.MaskHelp.old 2014-12-02 07:42:56.147930187 +0100
+++ sfunction_ain.MaskHelp.new 2014-12-02 07:42:56.147930187 +0100
@@ -1,2 +1 @@
-<p>This block calls the rpp_ain_get() function from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block allows to read the analog inputs on the RPP board. The ErrFlag should if raise <code>rpp_adc_update()</code> or <code>rpp_adc_get()</code> returns error. <code>rpp_adc_update()</code> is called just by the first DIN block in the model and thus only the first block could raise the flag because of this. In case an error occurs the return value will always be 0. Because the ErrFlag should never set, once set the following steps will never clear it back.</p>

Processing rpp_lib/CAN Receive
rpp_lib/CAN Receive: MaskType not up-to-date
--- sfunction_canreceive.MaskType.old 2014-12-02 07:42:56.219929021 +0100
+++ sfunction_canreceive.MaskType.new 2014-12-02 07:42:56.219929021 +0100
@@ -1 +1 @@
-RPP CAN bus receive message
\ No newline at end of file
+RPP CAN Receive
\ No newline at end of file

rpp_lib/CAN Receive: MaskDescription not up-to-date
--- sfunction_canreceive.MaskDescription.old 2014-12-02 07:42:56.299927738 +0100
+++ sfunction_canreceive.MaskDescription.new 2014-12-02 07:42:56.299927738 +0100
@@ -1,7 +1,6 @@
 <p>Receive a messages from the CAN bus.</p>
 <p>The output can be a uint8, uint16, uint32 number or CAN_MESSAGE object. CAN Unpack block can be used to unpack the data from CAN_MESSAGE object.</p>
 <p>A Function-call subsystem is triggered every time when a new message has been received.</p>
-<p>When Mixed is selected in the <i>Message type</i>, the block is able to receive both, the mesages with Standard and Extended identifier.<br>
-<b>NOTE:</b> When Mixed is selected, the <i>Message ID</i> and eventualy the <i>Message ID mask</i> have to be shifted by 18 bits to the left.</p>
-<p>If the <i>Message filter</i> is set to Single ID, only the messages with the one identifier specified in <i>Message ID</i> will be accepted by the block. But when ID & mask is selected, all messages with identifier compliant to logical AND of the <i>Message ID</i> and <i>Message ID mask</i> will be accepted.</p>
-<p>Uncheck <i>Automatic mailbox number</i>, if user defined mailbox number is needed.<br>
\ No newline at end of file
+<p>When Mixed is selected in the <em>Message type</em>, the block is able to receive both, the mesages with Standard and Extended identifier.<br /><strong>NOTE:</strong> When Mixed is selected, the <em>Message ID</em> and eventualy the <em>Message ID mask</em> have to be shifted by 18 bits to the left.</p>
+<p>If the <em>Message filter</em> is set to Single ID, only the messages with the one identifier specified in <em>Message ID</em> will be accepted by the block. But when ID &amp; mask is selected, all messages with identifier compliant to logical AND of the <em>Message ID</em> and <em>Message ID mask</em> will be accepted.</p>
+<p>Uncheck <em>Automatic mailbox number</em>, if user defined mailbox number is needed.</p>

rpp_lib/CAN Receive: MaskPromptString not up-to-date
--- sfunction_canreceive.MaskPromptString.old 2014-12-02 07:42:56.367926639 +0100
+++ sfunction_canreceive.MaskPromptString.new 2014-12-02 07:42:56.367926639 +0100
@@ -1 +1 @@
-Module|Frame type|Message ID filter|Message ID|Message ID mask|Data type|Automatic mailbox number|Mailbox number (1-64)
\ No newline at end of file
+Module:|Frame type:|Message ID filter:|Message ID:|Message ID mask:|Data type:|Automatic mailbox number|Mailbox number [1-64]:
\ No newline at end of file

rpp_lib/CAN Receive: MaskHelp not up-to-date
--- sfunction_canreceive.MaskHelp.old 2014-12-02 07:42:56.451925290 +0100
+++ sfunction_canreceive.MaskHelp.new 2014-12-02 07:42:56.451925290 +0100
@@ -1,2 +1,6 @@
-<p>This block calls the rpp_can_read() function from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block allows receiving messages from the CAN bus. It can be configured for any of the CAN ports (modules) CAN1, CAN2 or CAN3.</p>
+<p>The acceptance rules for message reception can be specified by a <em>Message ID</em> parameter and optionally by a <em>Message ID mask</em>. Specifying the mask allows to receive messages with multiple IDs. The block supports both, the Standard (11b ID) and the Extended (29b ID) frame formats. Note that if Mixed message ID type is selected, the blocks will receive both frame types, but the Standard Message ID and optionally the Message ID mask has to be shifted by 18 bits to the left to correspond with the extended IDs and masks. For example, if Message ID parameter is set to 0x80000 and mask to 0x1ffbfff, the block will receive SFF messages with IDs 0x002 and 0x003 and EFF IDs 0x00080000 and 0x000c0000.</p>
+<p>The mailbox number can be assigned automatically or manually. Automatic mailbox numbers are generated in ascending order from 0 to 31. Every mailbox must have a unique number. It is possible to mix blocks with automatically and manually assigned mailboxes. If the manually assigned mailbox number would collide with the automatic one then the automatically generated block will get assigned a next higher non-colliding ID. The mailbox numbers are shared between CAN Transmit and CAN Receive blocks with the same CAN port (module) parameter.</p>
+<p>The output of this block is a message data in selected format: uint8, uint16, uint32 or CAN_MESSAGE. The CAN_MESSAGE object can be unpacked by <code>CAN Unpack</code> block.</p>
+<p>Every time a message is received, the function call on <code>f()</code> output signal is triggered and the received message data is appears on the <code>Msg</code> output port. See <code>cantransmit.slx</code> demo for examples of different configurations and the usage of the CAN blocks.</p>
+<p>In order to use this block, there must be a <code>CAN Configure</code> block in the model.</p>

Processing rpp_lib/CAN Setup
rpp_lib/CAN Setup: MaskType not up-to-date
--- sfunction_cansetup.MaskType.old 2014-12-02 07:42:56.519924191 +0100
+++ sfunction_cansetup.MaskType.new 2014-12-02 07:42:56.519924191 +0100
@@ -1 +1 @@
-RPP CAN setup
\ No newline at end of file
+RPP CAN Setup
\ No newline at end of file

rpp_lib/CAN Setup: MaskDescription not up-to-date
--- sfunction_cansetup.MaskDescription.old 2014-12-02 07:42:56.595922968 +0100
+++ sfunction_cansetup.MaskDescription.new 2014-12-02 07:42:56.595922968 +0100
@@ -1 +1 @@
-Configure CAN bus communication baud rates for every CAN modul. Default value is 500kb/sec.
\ No newline at end of file
+<p>This block configures the CAN bus controllers. Exactly one CAN bus configuration block must be in the model if any of the CAN Receive or CAN Transmit block is used.</p>

rpp_lib/CAN Setup: MaskPromptString not up-to-date
--- sfunction_cansetup.MaskPromptString.old 2014-12-02 07:42:56.659921938 +0100
+++ sfunction_cansetup.MaskPromptString.new 2014-12-02 07:42:56.659921938 +0100
@@ -1 +1 @@
-CAN1 Baudrate (1-1000000 bits/sec)|CAN2 Baudrate (1-1000000 bits/sec)|CAN3 Baudrate (1-1000000 bits/sec)
\ No newline at end of file
+CAN1 baud rate in bps 1 – 10000000:|CAN2 baud rate in bps 1 – 10000000:|CAN3 baud rate in bps 1 – 10000000:
\ No newline at end of file

rpp_lib/CAN Setup: MaskHelp not up-to-date
--- sfunction_cansetup.MaskHelp.old 2014-12-02 07:42:56.731920776 +0100
+++ sfunction_cansetup.MaskHelp.new 2014-12-02 07:42:56.731920776 +0100
@@ -1,2 +1 @@
-<p>This block resets the CAN bus drivers chips and calls the rpp_can_init() function from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block configures the CAN bus controllers. Exactly one CAN bus configuration block must be in the model if any of the CAN Receive or CAN Transmit block is used.</p>

Processing rpp_lib/CAN Transmit
rpp_lib/CAN Transmit: MaskType not up-to-date
--- sfunction_cantransmit.MaskType.old 2014-12-02 07:42:56.799919678 +0100
+++ sfunction_cantransmit.MaskType.new 2014-12-02 07:42:56.799919678 +0100
@@ -1 +1 @@
-RPP CAN bus transmit a message
\ No newline at end of file
+RPP CAN Transmit
\ No newline at end of file

rpp_lib/CAN Transmit: MaskDescription not up-to-date
--- sfunction_cantransmit.MaskDescription.old 2014-12-02 07:42:56.875918460 +0100
+++ sfunction_cantransmit.MaskDescription.new 2014-12-02 07:42:56.875918460 +0100
@@ -1,4 +1,4 @@
 <p>Transmit a CAN message.</p>
 <p>Expects a uint8, uint16, uint32 or CAN_MESSAGE object as an input. Use CAN Pack to create the CAN_MESSAGE object.</p>
 <p>Matlab expression can be used as Message ID and Mailbox number.</p>
-<p>Uncheck <i>Automatic mailbox number</i>, if user defined mailbox number is needed.<br>
\ No newline at end of file
+<p>Uncheck <em>Automatic mailbox number</em>, if user defined mailbox number is needed.</p>

rpp_lib/CAN Transmit: MaskPromptString not up-to-date
--- sfunction_cantransmit.MaskPromptString.old 2014-12-02 07:42:56.943917363 +0100
+++ sfunction_cantransmit.MaskPromptString.new 2014-12-02 07:42:56.943917363 +0100
@@ -1 +1 @@
-Module|Frame type|Message ID|Automatic mailbox number|Mailbox number (1-64)
\ No newline at end of file
+Module:|Frame type:|Message ID:|Automatic mailbox number|Mailbox number [1–64]:
\ No newline at end of file

rpp_lib/CAN Transmit: MaskHelp not up-to-date
--- sfunction_cantransmit.MaskHelp.old 2014-12-02 07:42:57.019916135 +0100
+++ sfunction_cantransmit.MaskHelp.new 2014-12-02 07:42:57.019916135 +0100
@@ -1,2 +1,5 @@
-<p>This block calls the rpp_can_write() function from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block allows to send a message to the CAN bus. It can be configured for any of the CAN ports (modules) CAN1, CAN2 or CAN3.</p>
+<p>The message data are read from <code>Msg</code> input port. The data type is decided automatically from the input, but it is restricted to uint8, uint16, uint32 and CAN_MESSAGE. The CAN_MESSAGE object can be created by the <code>CAN Pack</code> block.</p>
+<p>The message sent by the block will have an ID assigned according to the number in the <em>Message ID</em> parameter. The block supports both types of message IDs: Standard (11b) and Extended (29b). If CAN_MESSAGE is used as input type, the message ID stored in CAN_MESSAGE object is ignored and the ID from the parameter of this block is used instead.</p>
+<p>The mailbox number can be assigned automatically or manually. Automatic mailbox numbers are generated in ascending order from 0 to 31. Every mailbox must have a unique number. It is possible to mix blocks with automatically and manually assigned mailboxes. If the manually assigned mailbox number would collide with the automatic one then the automatically generated block will get assigned a next higher non-colliding ID. The mailbox numbers are shared between CAN Transmit and CAN Receive blocks with the same CAN port (module) parameter.</p>
+<p>In order to use this block, there must be a <code>CAN Configure</code> block in the model.</p>

Processing rpp_lib/Digital Input (DIN)
rpp_lib/Digital Input (DIN): MaskType not up-to-date
--- sfunction_din.MaskType.old 2014-12-02 07:42:57.087915041 +0100
+++ sfunction_din.MaskType.new 2014-12-02 07:42:57.087915041 +0100
@@ -1 +1 @@
-RPP DIN
\ No newline at end of file
+RPP Digital input
\ No newline at end of file

rpp_lib/Digital Input (DIN): MaskDescription not up-to-date
--- sfunction_din.MaskDescription.old 2014-12-02 07:42:57.159913875 +0100
+++ sfunction_din.MaskDescription.new 2014-12-02 07:42:57.159913875 +0100
@@ -1,5 +1,2 @@
-Reads a value from a GPIO pin. The block supports GIOA, GIOB and NHET1 ports.
-Any pin can be configured as tri-state, pull up or pull down.
-
-It is not allowed to read from one pin by using more then one DIN blocks.
-It is not allowed to use DIN and DOUT blocks together configured for one GPIO pin.
\ No newline at end of file
+<p>Reads a value from a GPIO pin. The block supports GIOA, GIOB and NHET1 ports. Any pin can be configured as tri-state, pull up or pull down.</p>
+<p>It is not allowed to read from one pin by using more then one DIN blocks. It is not allowed to use DIN and DOUT blocks together configured for one GPIO pin.</p>

rpp_lib/Digital Input (DIN): MaskPromptString not up-to-date
--- sfunction_din.MaskPromptString.old 2014-12-02 07:42:57.227912780 +0100
+++ sfunction_din.MaskPromptString.new 2014-12-02 07:42:57.227912780 +0100
@@ -1 +1 @@
-Port|Pin [0-7]|Input type
\ No newline at end of file
+Port type:|Pin number [0–7] (depends on selected port):|Input Type:
\ No newline at end of file

rpp_lib/Digital Input (DIN): MaskHelp not up-to-date
--- sfunction_din.MaskHelp.old 2014-12-02 07:42:57.299911618 +0100
+++ sfunction_din.MaskHelp.new 2014-12-02 07:42:57.299911618 +0100
@@ -1 +1,2 @@
-<p>This block configures the GPIO pin by calling hal_gpio_pin_conf_set(), retrieves the descriptor of the pin by calling hal_gpio_pin_get_dsc() and reads from the pin by calling hal_gpio_pin_get_value().</p>
\ No newline at end of file
+<p>Reads a value from a GPIO pin. The block supports GIOA, GIOB and NHET1 ports. Any pin can be configured as tri-state, pull up or pull down.</p>
+<p>It is not allowed to read from one pin by using more then one DIN blocks. It is not allowed to use DIN and DOUT blocks together configured for one GPIO pin.</p>

Processing rpp_lib/Digital Output (DOUT)
rpp_lib/Digital Output (DOUT): MaskType not up-to-date
--- sfunction_dout.MaskType.old 2014-12-02 07:42:57.367910521 +0100
+++ sfunction_dout.MaskType.new 2014-12-02 07:42:57.367910521 +0100
@@ -1 +1 @@
-RPP DOUT
\ No newline at end of file
+RPP Digital output
\ No newline at end of file

rpp_lib/Digital Output (DOUT): MaskDescription not up-to-date
--- sfunction_dout.MaskDescription.old 2014-12-02 07:42:57.443909294 +0100
+++ sfunction_dout.MaskDescription.new 2014-12-02 07:42:57.443909294 +0100
@@ -1,7 +1,2 @@
-Writes a value to a GPIO pin. The block supports GIOA, GIOB and NHET1 ports.
-Any pin can be configured as open drain or push/pull and initial output value
-can be specified. The initial value is a value, which will appear on the pin
-after gpio module is initialized and persists here until the first write.
-
-It is not allowed to write to one pin by using more then one DOUT blocks.
-It is not allowed to use DOUT and DIN blocks on one GPIO pin.
\ No newline at end of file
+<p>Writes a value to a GPIO pin. The block supports GIOA, GIOB and NHET1 ports. Any pin can be configured as open drain or push/pull and initial output value can be specified. The initial value is a value, which will appear on the pin when the GPIO module is initialized and stays there until the first block execution.</p>
+<p>It is not allowed to write to one pin by using more then one DOUT blocks. It is not allowed to use DOUT and DIN blocks on one GPIO pin.</p>

rpp_lib/Digital Output (DOUT): MaskPromptString not up-to-date
--- sfunction_dout.MaskPromptString.old 2014-12-02 07:42:57.507908260 +0100
+++ sfunction_dout.MaskPromptString.new 2014-12-02 07:42:57.507908260 +0100
@@ -1 +1 @@
-Port|Pin [0-7]|Initial output value [0-1]|Configuration
\ No newline at end of file
+Port type:|Pin number [0–7] (depends on selected port):|Initial output value [0,1]:|Output Type:
\ No newline at end of file

rpp_lib/Digital Output (DOUT): MaskHelp not up-to-date
--- sfunction_dout.MaskHelp.old 2014-12-02 07:42:57.579907099 +0100
+++ sfunction_dout.MaskHelp.new 2014-12-02 07:42:57.579907099 +0100
@@ -1 +1,2 @@
-<p>This block configures the GPIO pin by calling hal_gpio_pin_conf_set(), retrieves the descriptor of the pin by calling hal_gpio_pin_get_dsc() and writes to the pin by calling hal_gpio_pin_set_value().</p>
+<p>Writes a value to a GPIO pin. The block supports GIOA, GIOB and NHET1 ports. Any pin can be configured as open drain or push/pull and initial output value can be specified. The initial value is a value, which will appear on the pin when the GPIO module is initialized and stays there until the first block execution.</p>
+<p>It is not allowed to write to one pin by using more then one DOUT blocks. It is not allowed to use DOUT and DIN blocks on one GPIO pin.</p>

Processing rpp_lib/Overrun Detection
rpp_lib/Overrun Detection: MaskType not up-to-date
--- sfunction_tror.MaskType.old 2014-12-02 07:42:57.643906066 +0100
+++ sfunction_tror.MaskType.new 2014-12-02 07:42:57.643906066 +0100
@@ -1 +1 @@
-Overrun detection
\ No newline at end of file
+RPP Overrun Detection
\ No newline at end of file

rpp_lib/Overrun Detection: MaskDescription not up-to-date
--- sfunction_tror.MaskDescription.old 2014-12-02 07:42:57.715904904 +0100
+++ sfunction_tror.MaskDescription.new 2014-12-02 07:42:57.715904904 +0100
@@ -1 +1 @@
-Connected function subsystem is executed when overrun is detected.
\ No newline at end of file
+<p>This block triggers the connected function subsystems in case of overrun, i.e. when execution of the previous loop iteration took more time than the sampling period.</p>

rpp_lib/Overrun Detection: MaskHelp not up-to-date
--- sfunction_tror.MaskHelp.old 2014-12-02 07:42:57.843902839 +0100
+++ sfunction_tror.MaskHelp.new 2014-12-02 07:42:57.843902839 +0100
@@ -1 +1 @@
-<p>This block triggers connected simulink function subsystems in case that previous loop took more time than simulation time is set.</p>
\ No newline at end of file
+<p>This block triggers the connected function subsystems in case of overrun, i.e. when execution of the previous loop iteration took more time than the sampling period.</p>

Processing rpp_lib/Serial Configure
rpp_lib/Serial Configure: MaskDescription not up-to-date
--- sfunction_scic.MaskDescription.old 2014-12-02 07:42:57.971900773 +0100
+++ sfunction_scic.MaskDescription.new 2014-12-02 07:42:57.971900773 +0100
@@ -1 +1 @@
-Configure Serial Communication Interface baud rate. Default is 9600.
\ No newline at end of file
+<p>This block configures the baud rate of the Serial Communication Interface (SCI). Only one block of this type per model is alloved.</p>

rpp_lib/Serial Configure: MaskHelp not up-to-date
--- sfunction_scic.MaskHelp.old 2014-12-02 07:42:58.099898703 +0100
+++ sfunction_scic.MaskHelp.new 2014-12-02 07:42:58.099898703 +0100
@@ -1,2 +1 @@
-<p>This block calls the rpp_sci_setup() function from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block configures the baud rate of the Serial Communication Interface (SCI). Only one block of this type per model is alloved.</p>

Processing rpp_lib/Serial Printf
rpp_lib/Serial Printf: MaskDescription not up-to-date
--- sfunction_scip.MaskDescription.old 2014-12-02 07:42:58.235896508 +0100
+++ sfunction_scip.MaskDescription.new 2014-12-02 07:42:58.235896508 +0100
@@ -1 +1,2 @@
-Printf through the Serial Communication Interface.
\ No newline at end of file
+<p>This block prints a formatted string to the SCI. The <em>Print format</em> parameter is used as the format specifier for C <code>printf()</code> function. Note that this value is inserted raw between the quotes during code generation and thus there is no validation on it. User should always put a valid specifier for the input type of the block.</p>
+<p>Due to Simulink limitations, it is not posible join diferent types into one vector. So one block can be used only for one type of inputs.</p>

rpp_lib/Serial Printf: MaskPromptString not up-to-date
--- sfunction_scip.MaskPromptString.old 2014-12-02 07:42:58.299895470 +0100
+++ sfunction_scip.MaskPromptString.new 2014-12-02 07:42:58.299895470 +0100
@@ -1 +1 @@
-Printf format (must include specifier for arguments):
\ No newline at end of file
+Print format:
\ No newline at end of file

rpp_lib/Serial Printf: MaskHelp not up-to-date
--- sfunction_scip.MaskHelp.old 2014-12-02 07:42:58.375894242 +0100
+++ sfunction_scip.MaskHelp.new 2014-12-02 07:42:58.375894242 +0100
@@ -1,2 +1,2 @@
-<p>This block calls the rpp_sci_printf() functions from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block prints a formatted string to the SCI. The <em>Print format</em> parameter is used as the format specifier for C <code>printf()</code> function. Note that this value is inserted raw between the quotes during code generation and thus there is no validation on it. User should always put a valid specifier for the input type of the block.</p>
+<p>Due to Simulink limitations, it is not posible join diferent types into one vector. So one block can be used only for one type of inputs.</p>

Processing rpp_lib/Serial Receive
rpp_lib/Serial Receive: MaskDescription not up-to-date
--- sfunction_scir.MaskDescription.old 2014-12-02 07:42:58.507892106 +0100
+++ sfunction_scir.MaskDescription.new 2014-12-02 07:42:58.507892106 +0100
@@ -1 +1 @@
-Reads one byte from the Serial Communication Interface.
\ No newline at end of file
+<p>This block receives a byte from the SCI by calling <code>rpp_sci_read_nb()</code>. The ErrFlag raises if the call returns an error. The behavior of the ErrFlag is different from others blocks in that this block will set or clear the flag in each step depending on the result. Note that this block uses a non-blocking function to read the SCI and thus it will work even if nothing is received.</p>

rpp_lib/Serial Receive: MaskHelp not up-to-date
--- sfunction_scir.MaskHelp.old 2014-12-02 07:42:58.635890038 +0100
+++ sfunction_scir.MaskHelp.new 2014-12-02 07:42:58.635890038 +0100
@@ -1,2 +1 @@
-<p>This block calls the rpp_sci_read() function from the RPP library if data is available (rpp_sci_available()).</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block receives a byte from the SCI by calling <code>rpp_sci_read_nb()</code>. The ErrFlag raises if the call returns an error. The behavior of the ErrFlag is different from others blocks in that this block will set or clear the flag in each step depending on the result. Note that this block uses a non-blocking function to read the SCI and thus it will work even if nothing is received.</p>

Processing rpp_lib/Serial Send
rpp_lib/Serial Send: MaskDescription not up-to-date
--- sfunction_scis.MaskDescription.old 2014-12-02 07:42:58.767887904 +0100
+++ sfunction_scis.MaskDescription.new 2014-12-02 07:42:58.767887904 +0100
@@ -1 +1,2 @@
-Sends one byte through the Serial Communication Interface.
\ No newline at end of file
+<p>This block sends a byte to the SCI.</p>
+<p>The ErrFlag is set to true <code>rpp_sci_write_nb()</code> returns an error, to false otherwise.</p>

rpp_lib/Serial Send: MaskHelp not up-to-date
--- sfunction_scis.MaskHelp.old 2014-12-02 07:42:58.895885837 +0100
+++ sfunction_scis.MaskHelp.new 2014-12-02 07:42:58.895885837 +0100
@@ -1,2 +1,2 @@
-<p>This block calls the rpp_sci_write_nb() or rpp_sci_printf() functions from the RPP library.</p>
-<p>For more information refer to the HTML RPP library API</p>
\ No newline at end of file
+<p>This block sends a byte to the SCI.</p>
+<p>The ErrFlag is set to true <code>rpp_sci_write_nb()</code> returns an error, to false otherwise.</p>

9 years agoAdd functional tests report
Michal Horn [Thu, 20 Nov 2014 16:34:40 +0000 (17:34 +0100)]
Add functional tests report

Currently, without filled tables with results

Refs: #1006

9 years agoChange models to support the test scenarios
Michal Horn [Mon, 24 Nov 2014 15:14:24 +0000 (16:14 +0100)]
Change models to support the test scenarios

9 years agoChange SCI Send to SCI Printf to test the block
Michal Horn [Mon, 24 Nov 2014 09:43:34 +0000 (10:43 +0100)]
Change SCI Send to SCI Printf to test the block

Refs: #1006

9 years agoFix Message ID in block CAN Receive 4
Michal Horn [Mon, 24 Nov 2014 09:42:20 +0000 (10:42 +0100)]
Fix Message ID in block CAN Receive 4

9 years agoModify the demo for easier GIO testing
Michal Horn [Mon, 24 Nov 2014 09:40:51 +0000 (10:40 +0100)]
Modify the demo for easier GIO testing

Two more DIN blocks added to test all available configurations,
One more DOUT block added to test the Open-Drain mode, two others
blocks configured for different default output values in Push Pull
mode.

Refs: #1006

9 years agoFix baudrate value in serial interface demo description
Michal Horn [Mon, 24 Nov 2014 09:40:08 +0000 (10:40 +0100)]
Fix baudrate value in serial interface demo description

9 years agoAdd simulink model for basic testing of the CAN
Michal Horn [Mon, 24 Nov 2014 09:29:54 +0000 (10:29 +0100)]
Add simulink model for basic testing of the CAN

9 years agoFix references to the rpp_lib.slx
Michal Horn [Wed, 19 Nov 2014 14:23:49 +0000 (15:23 +0100)]
Fix references to the rpp_lib.slx

Some blocks in rpp_lib.slx were renamed which led to break of
the references in some models.

9 years agodoc: Update YAML blocks
Michal Sojka [Tue, 2 Dec 2014 05:49:37 +0000 (06:49 +0100)]
doc: Update YAML blocks

After changing the YAML schema, it is necessary to change this in order
to compile doc without errors.

Also update the description to match block masks.

9 years agoWhitespace changes in DIN and DOUT documentation
Michal Horn [Wed, 5 Nov 2014 16:39:06 +0000 (17:39 +0100)]
Whitespace changes in DIN and DOUT documentation