]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Enhance parameters documentation of CAN Transmit block and Added missing parameters...
authorKarel Kočí <cynerd@email.cz>
Wed, 27 Aug 2014 14:59:03 +0000 (16:59 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 28 Aug 2014 16:28:47 +0000 (18:28 +0200)
Parameters names are changed to be same as in block.
Type of parameters that are implemented in simulink as popup are documented as list of choices.

rpp/blocks/sfunction_canreceive.c
rpp/blocks/sfunction_cantransmit.c

index 876b5eefaefbb1113494b2b6e2158ed0052a1fd6..eb6c2d76fae039c117b624b79fc0f8ce3a5ee34a 100644 (file)
@@ -37,6 +37,22 @@ Outputs:
     type: uint8, uint16, uint32 or CAN MESSAGE
 
 Parameters:
+  - name: Module
+    type: Choise from CAN1, CAN2 or CAN3
+  - name: Message type
+    type: Choise from Standart, Extended or Mixed
+  - name: Message filter
+    type: Choise from Single ID or ID & mask
+  - name: Message ID
+    type: uint32
+  - name: Message ID mask
+    type: uint8
+  - name: Data type
+    type: Choise from uint8, uint16, uint32 or CAN MESSAGE TYPE
+  - name: Automatic mailbox number
+    type: bool
+  - name: Mailbox number (0-31)
+    type: uint8
 
 # Description is in Markdown mark-up
 Description: >
index 1e01640035682c6bf4ac9e65d6c2231bb72ae987..66822d8401639bbe91ddf9a38bf6b6566db1a929 100644 (file)
@@ -35,12 +35,14 @@ Inputs:
 Outputs:
 
 Parameters:
-  - name: module id
-    type: uint8
-  - name: message type
-    type: uint8
-  - name: message id
+  - name: Module
+    type: Choise from CAN1, CAN2 or CAN3
+  - name: Message type
+    type: Choise from Standart or Extended
+  - name: Message ID
     type: uint16
+  - name: Automatic mailbox number
+    type: bool
   - name: mailbox id
     type: uint32