Jump to content

Component: MIAC Advanced (MIAC: Addon Modules): Difference between revisions

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(One intermediate revision by the same user not shown)
Line 34: Line 34:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UART_ReceiveChar'''
| width="90%" class="mtx-class-macrohead" | '''UART_ReceiveChar'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 52: Line 52:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PWM_Enable'''
| width="90%" class="mtx-class-macrohead" | '''PWM_Enable'''
|-
|-
| colspan="2" | Enable the PWM on Channel 1 or 2 
| colspan="2" | Enable the PWM on Channel 1 or 2 
Line 70: Line 70:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Send_Byte_Transaction'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Send_Byte_Transaction'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 103: Line 103:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Read_Time'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Read_Time'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 121: Line 121:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Set_Date'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Set_Date'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 149: Line 149:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPI_Uninit'''
| width="90%" class="mtx-class-macrohead" | '''SPI_Uninit'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 162: Line 162:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Stop'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Stop'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 175: Line 175:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DAC_WriteChannels'''
| width="90%" class="mtx-class-macrohead" | '''DAC_WriteChannels'''
|-
|-
| colspan="2" | Wrtie values to both DAC Channels 
| colspan="2" | Wrtie values to both DAC Channels 
Line 198: Line 198:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UART_SendString'''
| width="90%" class="mtx-class-macrohead" | '''UART_SendString'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 216: Line 216:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_SetData'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_SetData'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 264: Line 264:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_Init'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_Init'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 282: Line 282:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_GetData'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_GetData'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 300: Line 300:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPI_Init'''
| width="90%" class="mtx-class-macrohead" | '''SPI_Init'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 313: Line 313:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_Message'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_Message'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 336: Line 336:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Reg_Write'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Reg_Write'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 359: Line 359:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_WR'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_WR'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 397: Line 397:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Restart'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Restart'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 410: Line 410:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LED_Control'''
| width="90%" class="mtx-class-macrohead" | '''LED_Control'''
|-
|-
| colspan="2" | Sets the indicator LED On (State=1) or Off (State=0) 
| colspan="2" | Sets the indicator LED On (State=1) or Off (State=0) 
Line 428: Line 428:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Read_Date'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Read_Date'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 446: Line 446:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPI_Get_Char'''
| width="90%" class="mtx-class-macrohead" | '''SPI_Get_Char'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 459: Line 459:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UART_Initialize'''
| width="90%" class="mtx-class-macrohead" | '''UART_Initialize'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 472: Line 472:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SPI_Send_Char'''
| width="90%" class="mtx-class-macrohead" | '''SPI_Send_Char'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 490: Line 490:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Transmit_Byte'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Transmit_Byte'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 508: Line 508:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Sensor_Read'''
| width="90%" class="mtx-class-macrohead" | '''Sensor_Read'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 531: Line 531:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_PushData'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_PushData'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 549: Line 549:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Receive_Byte'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Receive_Byte'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 567: Line 567:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Init'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Init'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 580: Line 580:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PWM_Disable'''
| width="90%" class="mtx-class-macrohead" | '''PWM_Disable'''
|-
|-
| colspan="2" | Disable the PWM on Channel 1 or 2 
| colspan="2" | Disable the PWM on Channel 1 or 2 
Line 598: Line 598:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Reg_Read'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Reg_Read'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 616: Line 616:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Receive_Byte_Transaction'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Receive_Byte_Transaction'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 644: Line 644:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DigitalOutput'''
| width="90%" class="mtx-class-macrohead" | '''DigitalOutput'''
|-
|-
| colspan="2" | Set a Terminal Output to High (Value=1) or Low (Value=0) 
| colspan="2" | Set a Terminal Output to High (Value=1) or Low (Value=0) 
Line 667: Line 667:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MIAC_Module_GetAck'''
| width="90%" class="mtx-class-macrohead" | '''MIAC_Module_GetAck'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 695: Line 695:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DAC_Write'''
| width="90%" class="mtx-class-macrohead" | '''DAC_Write'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 718: Line 718:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AnalogInput'''
| width="90%" class="mtx-class-macrohead" | '''AnalogInput'''
|-
|-
| colspan="2" | Read the ADC value of a Terminal Returns 12 bit ADC reading 
| colspan="2" | Read the ADC value of a Terminal Returns 12 bit ADC reading 
Line 736: Line 736:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialize'''
| width="90%" class="mtx-class-macrohead" | '''Initialize'''
|-
|-
| colspan="2" | Forces a software reset on the module 
| colspan="2" | Forces a software reset on the module 
Line 749: Line 749:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Get_Data'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Get_Data'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 762: Line 762:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RTC_Set_Time'''
| width="90%" class="mtx-class-macrohead" | '''RTC_Set_Time'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 790: Line 790:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UART_ReceiveString'''
| width="90%" class="mtx-class-macrohead" | '''UART_ReceiveString'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 813: Line 813:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''PWM_SetDuty'''
| width="90%" class="mtx-class-macrohead" | '''PWM_SetDuty'''
|-
|-
| colspan="2" | Sets the PWM Duty cycle on Channel 1 or 2 
| colspan="2" | Sets the PWM Duty cycle on Channel 1 or 2 
Line 836: Line 836:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MI2C_Start'''
| width="90%" class="mtx-class-macrohead" | '''MI2C_Start'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 849: Line 849:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DigitalInput'''
| width="90%" class="mtx-class-macrohead" | '''DigitalInput'''
|-
|-
| colspan="2" | Read the value of a terminal  
| colspan="2" | Read the value of a terminal  
Line 867: Line 867:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''UART_SendChar'''
| width="90%" class="mtx-class-macrohead" | '''UART_SendChar'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 888: Line 888:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
Line 982: Line 982:
| colspan="2" |  When Enabled input logic thresholds are compliant with SMBus specification 
| colspan="2" |  When Enabled input logic thresholds are compliant with SMBus specification 
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''  
| width="90%" class="mtx-class-macrohead" | '''Connections'''  
|-
|-
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''  
| width="90%" class="mtx-class-macrohead" | '''Simulations'''  
|-
|-
|}
|}

Latest revision as of 14:23, 13 July 2026

Author
Version 1.0
Category MIAC: Addon Modules


MIAC Advanced component

Advanced Addon for MIAC System

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

UART_ReceiveChar
 
- BYTE Timeout
 
- UINT Return


PWM_Enable
Enable the PWM on Channel 1 or 2 
- BYTE Channel
PWM Channel 1 or 2 
- VOID Return


MI2C_Send_Byte_Transaction
 
[[File:]] - Device_ID
 
[[File:]] - AddrH
 
[[File:]] - AddrL
 
[[File:]] - Data
 
- VOID Return


RTC_Read_Time
 
[[File:]] - HMS
 
[[File:]] - Return


RTC_Set_Date
 
[[File:]] - Day
 
[[File:]] - Month
 
[[File:]] - Year
 
- VOID Return


SPI_Uninit
 
- VOID Return


MI2C_Stop
 
- VOID Return


DAC_WriteChannels
Wrtie values to both DAC Channels 
- INT ChannelA
 
- INT ChannelB
 
- VOID Return


UART_SendString
 
- STRING Text
 
- VOID Return


MIAC_Module_SetData
 
- BYTE Count
 
- BYTE D0
 
- BYTE D1
 
- BYTE D2
 
- BYTE D3
 
- BYTE D4
 
- BYTE D5
 
- VOID Return


MIAC_Module_Init
 
- UINT CAN_ID
 
- VOID Return


MIAC_Module_GetData
 
- BYTE Index
 
- BYTE Return


SPI_Init
 
- VOID Return


MIAC_Module_Message
 
- UINT CAN_ID
 
- UINT CMD_ID
 
- BYTE Return


RTC_Reg_Write
 
[[File:]] - Reg
 
[[File:]] - Value
 
- VOID Return


MIAC_Module_WR
 
- UINT CAN_ID
 
- UINT CMD_ID
 
[[File:]] - Count
 
[[File:]] - Start
 
[[File:]] - More
 
- VOID Return


MI2C_Restart
 
- VOID Return


LED_Control
Sets the indicator LED On (State=1) or Off (State=0) 
- BYTE State
 
- VOID Return


RTC_Read_Date
 
[[File:]] - DMY
 
[[File:]] - Return


SPI_Get_Char
 
[[File:]] - Return


UART_Initialize
 
- VOID Return


SPI_Send_Char
 
[[File:]] - Char
 
- VOID Return


MI2C_Transmit_Byte
 
[[File:]] - Data
 
[[File:]] - Return


Sensor_Read
 
[[File:]] - Sensor
 
[[File:]] - HiRes
 
- INT Return


MIAC_Module_PushData
 
- BYTE Data
 
- VOID Return


MI2C_Receive_Byte
 
[[File:]] - Last
 
- BYTE Return


MI2C_Init
 
- VOID Return


PWM_Disable
Disable the PWM on Channel 1 or 2 
- BYTE Channel
PWM Channel 1 or 2 
- VOID Return


RTC_Reg_Read
 
[[File:]] - Reg
 
[[File:]] - Return


MI2C_Receive_Byte_Transaction
 
[[File:]] - Device_ID
 
[[File:]] - AddrH
 
[[File:]] - AddrL
 
[[File:]] - Return


DigitalOutput
Set a Terminal Output to High (Value=1) or Low (Value=0) 
- BYTE Terminal
 
- BYTE Value
 
- BYTE Return


MIAC_Module_GetAck
 
- UINT CAN_ID
 
- UINT CMD_ID
 
- UINT TimeOut
 
- BYTE Return


DAC_Write
 
[[File:]] - Channel
 
- INT Value
 
- VOID Return


AnalogInput
Read the ADC value of a Terminal Returns 12 bit ADC reading 
- BYTE Terminal
Terminal number to be read 
- UINT Return


Initialize
Forces a software reset on the module 
- VOID Return


RTC_Get_Data
 
- VOID Return


RTC_Set_Time
 
[[File:]] - Hour
 
[[File:]] - Min
 
[[File:]] - Sec
 
- VOID Return


UART_ReceiveString
 
- BYTE Timeout
 
- BYTE NumBytes
 
- STRING Return


PWM_SetDuty
Sets the PWM Duty cycle on Channel 1 or 2 
- BYTE Channel
PWM Channel 1 or 2 
- BYTE Duty
Duty cycle (8 bit value) 
- VOID Return


MI2C_Start
 
- VOID Return


DigitalInput
Read the value of a terminal  
- BYTE Terminal
 
- BYTE Return


UART_SendChar
 
- UINT Character
 
- VOID Return



Property reference

Properties
Module Type
 
Module Address
 
Period Overflow
 
Prescaler
 
Frequency (KHz)
 
Period (uS)
 
Baud Rate
 
Data Bits
 
Return Type
 
Echo
 
Flow Control
 
Rate
Prescale option selector 
Clock Polarity
Clock Polarity setting, inactive (idle) state 
Clock Phase
Clock Phase (data change edge) selection 
Sample Point
Data bit read sample point 
Baud Select
Baud rate option selector 
Slew Rate Control
Slew Rate Control Enabled or Disabled 
SMBus Inputs
When Enabled input logic thresholds are compliant with SMBus specification 
Connections
Simulations