- { name: "Pin number", type: "uint8", range: "[1–12]" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to read the analog inputs on the RPP board. The
ErrFlag should if raise `rpp_adc_update()` or `rpp_adc_get()`
- { name: "UseVoltage", type: "bool" }
# Description is in Markdown mark-up
-Description: >
+Description: |
Sets the analog value of the specified analog output pin on the RPP board. If an error is detected
while setting the value, the ErrFlag is set high.
- { name: "Mailbox number (0-31)", type: "int8" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows receiving messages from the CAN bus. It can be
configured for any of the CAN ports (modules) CAN1, CAN2 or CAN3.
- { name: "Baud rate for CAN bus port 3 [bps]", type: "uint32", range: "1 – 10000000" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block configures the CAN bus controllers. Exactly one CAN bus
configuration block must be in the model if any of the CAN Receive
- { name: "Mailbox number", type: "int8" }
# Description is in Markdown mark-up
-Description: >
+Description: |
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.
- { name: "Active", type: "Choice from Active or Tri-stated" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to read the digital inputs on the RPP board. For pins number 0-7 is not
relevant and not visible parameter 'Use variable threshold' and only one block for each pin
- { name: "Reference voltage for pins 12-15 [0-4095]", type: "uint16" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows one to set reference voltage (threshold) for DIN pins. The block have two parameters,
one for pins 8 - 11 and the other for pins 12 - 15.
- { name: "secureBuffers", type: "uint8" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block ...
- { name: "slotId", type: "uint32" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block ...
Parameters:
# Description is in Markdown mark-up
-Description: >
+Description: |
This block ...
- { name: "slotId", type: "uint32" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block ...
Parameters:
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to control the H-Bridge on the RPP board. The ErrFlag should raise only if
`rpp_hbr_control()` returns error. The H-Bridge is initialized with the default frequency
- { name: "IRC number [1-2]", type: "uint8" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to read a value of an IRC sensors. Two
configurations are supported: IRC is connected to pins DIN10 and DIN11
- { name: "Pin number [1-8]", type: "uint8" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to write to the digital outputs on the RPP board. The ErrFlag should raise if
`rpp_lout_set()` or `rpp_lout_update()` returns error. Because the ErrFlag should never set,
- { name: "Pin number [1-6]", type: "uint8" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to write the power outputs (2A) on the RPP board. The ErrFlag should raise only
if `rpp_mout_set()` returns error. Note that `rpp_mout_set()` returns error only if some bad
Parameters:
# Description is in Markdown mark-up
-Description: >
+Description: |
This block triggers connected simulink function subsystems in case that
previous loop took more time than simulation time is set.
- { name: "Baud rate", type: "uint32" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to configure the baud rate of the SCI. There should be only one block of this type
per model, and this requirement is validated.
- { name: "PrintFormat [SETTING]", type: "string" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to print a formatted string to the SCI. The PrintFormat
string parameters SETTING is used as the format specifier. Note that this value is
Parameters:
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to receive a byte from the SCI. The ErrFlag should raise if `rpp_sci_read_nb()`
doesn't succeed. The behavior of the ErrFlag is different from others blocks in that this block
Parameters:
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to send a byte to the SCI.
- { name: "PrintFormat [SETTING]", type: "string" }
# Description is in Markdown mark-up
-Description: >
+Description: |
This block allows to log a double value to the SD-RAM. User needs to provide a valid PrintFormat
string to format and register the double value on the log. The PrintFormat string should include