Uart.xdm 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <?xml version='1.0'?>
  2. <datamodel version="7.0"
  3. xmlns="http://www.tresos.de/_projects/DataModel2/16/root.xsd"
  4. xmlns:a="http://www.tresos.de/_projects/DataModel2/16/attribute.xsd"
  5. xmlns:v="http://www.tresos.de/_projects/DataModel2/06/schema.xsd"
  6. xmlns:d="http://www.tresos.de/_projects/DataModel2/06/data.xsd">
  7. <d:ctr type="AUTOSAR" factory="autosar"
  8. xmlns:ad="http://www.tresos.de/_projects/DataModel2/08/admindata.xsd"
  9. xmlns:cd="http://www.tresos.de/_projects/DataModel2/08/customdata.xsd"
  10. xmlns:f="http://www.tresos.de/_projects/DataModel2/14/formulaexpr.xsd"
  11. xmlns:icc="http://www.tresos.de/_projects/DataModel2/08/implconfigclass.xsd"
  12. xmlns:mt="http://www.tresos.de/_projects/DataModel2/11/multitest.xsd"
  13. xmlns:variant="http://www.tresos.de/_projects/DataModel2/11/variant.xsd">
  14. <d:lst type="TOP-LEVEL-PACKAGES">
  15. <d:ctr name="Uart" type="AR-PACKAGE">
  16. <d:lst type="ELEMENTS">
  17. <d:chc name="Uart" type="AR-ELEMENT" value="MODULE-CONFIGURATION">
  18. <d:ctr type="MODULE-CONFIGURATION">
  19. <a:a name="DEF" value="ASPath:/TS_T40D2M10I0R0/Uart"/>
  20. <d:var name="POST_BUILD_VARIANT_USED" type="BOOLEAN" value="true">
  21. <a:a name="IMPORTER_INFO" value="@DEF"/>
  22. </d:var>
  23. <d:var name="IMPLEMENTATION_CONFIG_VARIANT" type="ENUMERATION"
  24. value="VariantPreCompile"/>
  25. <d:ctr name="GeneralConfiguration" type="IDENTIFIABLE">
  26. <d:var name="UartDevErrorDetect" type="BOOLEAN" value="true">
  27. <a:a name="IMPORTER_INFO" value="@DEF"/>
  28. </d:var>
  29. <d:var name="DisableUartRuntimeErrorDetect" type="BOOLEAN"
  30. value="false">
  31. <a:a name="IMPORTER_INFO" value="@DEF"/>
  32. </d:var>
  33. <d:var name="UartMulticoreSupport" type="BOOLEAN" value="false">
  34. <a:a name="IMPORTER_INFO" value="@DEF"/>
  35. </d:var>
  36. <d:var name="UartEnableUserModeSupport" type="BOOLEAN"
  37. value="false">
  38. <a:a name="IMPORTER_INFO" value="@DEF"/>
  39. </d:var>
  40. <d:var name="UartTimeoutMethod" type="ENUMERATION"
  41. value="OSIF_COUNTER_SYSTEM"/>
  42. <d:var name="UartTimeoutDuration" type="INTEGER" value="500000"/>
  43. <d:var name="UartDmaEnable" type="BOOLEAN" value="true"/>
  44. <d:var name="UartVersionInfoApi" type="BOOLEAN" value="true">
  45. <a:a name="IMPORTER_INFO" value="@DEF"/>
  46. </d:var>
  47. <d:var name="UartCallbackCapability" type="BOOLEAN" value="true"/>
  48. </d:ctr>
  49. <d:lst name="UartEcucPartitionRef"/>
  50. <d:ctr name="UartGlobalConfig" type="IDENTIFIABLE">
  51. <d:lst name="UartChannel" type="MAP">
  52. <d:ctr name="LPUART0_RS485" type="IDENTIFIABLE">
  53. <d:var name="UartHwUsing" type="ENUMERATION"
  54. value="LPUART_IP">
  55. <a:a name="IMPORTER_INFO" value="@DEF"/>
  56. </d:var>
  57. <d:var name="UartChannelId" type="INTEGER" value="0">
  58. <a:a name="IMPORTER_INFO">
  59. <a:v>@DEF</a:v>
  60. <a:v>@CALC</a:v>
  61. </a:a>
  62. </d:var>
  63. <d:ref name="UartClockRef" type="REFERENCE"
  64. value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART0_CLK"/>
  65. <d:ref name="UartChannelEcucPartitionRef" type="REFERENCE" >
  66. <a:a name="ENABLE" value="false"/>
  67. <a:a name="IMPORTER_INFO" value="@DEF"/>
  68. </d:ref>
  69. <d:ctr name="DetailModuleConfiguration" type="IDENTIFIABLE">
  70. <d:var name="UartHwChannel" type="ENUMERATION"
  71. value="LPUART_0">
  72. <a:a name="IMPORTER_INFO">
  73. <a:v>@DEF</a:v>
  74. <a:v>@CALC</a:v>
  75. </a:a>
  76. </d:var>
  77. <d:var name="DesireBaudrate" type="ENUMERATION"
  78. value="LPUART_UART_BAUDRATE_9600">
  79. <a:a name="IMPORTER_INFO" value="@DEF"/>
  80. </d:var>
  81. <d:var name="UartInteruptDmaMethod" type="ENUMERATION"
  82. value="LPUART_UART_IP_USING_DMA"/>
  83. <d:ref name="UartDmaTxChannelRef" type="REFERENCE"
  84. value="ASPath:/Mcl/Mcl/MclConfig/UART0_TX">
  85. <a:a name="ENABLE" value="true"/>
  86. </d:ref>
  87. <d:ref name="UartDmaRxChannelRef" type="REFERENCE"
  88. value="ASPath:/Mcl/Mcl/MclConfig/UART0_RX">
  89. <a:a name="ENABLE" value="true"/>
  90. </d:ref>
  91. <d:var name="UartParityType" type="ENUMERATION"
  92. value="LPUART_UART_IP_PARITY_DISABLED">
  93. <a:a name="IMPORTER_INFO" value="@DEF"/>
  94. </d:var>
  95. <d:var name="UartStopBitNumber" type="ENUMERATION"
  96. value="LPUART_UART_IP_ONE_STOP_BIT">
  97. <a:a name="IMPORTER_INFO" value="@DEF"/>
  98. </d:var>
  99. <d:var name="UartWordLength" type="ENUMERATION"
  100. value="LPUART_UART_IP_8_BITS_PER_CHAR">
  101. <a:a name="IMPORTER_INFO" value="@DEF"/>
  102. </d:var>
  103. <d:var name="UartCallback" type="FUNCTION-NAME"
  104. value="UART_Callback">
  105. <a:a name="ENABLE" value="true"/>
  106. </d:var>
  107. </d:ctr>
  108. <d:ctr name="FlexioModuleConfiguration" type="IDENTIFIABLE">
  109. <d:ref name="UartHwChannelRef" type="REFERENCE" >
  110. <a:a name="IMPORTER_INFO" value="@DEF"/>
  111. </d:ref>
  112. <d:var name="FlexioUartInteruptDmaMethod"
  113. type="ENUMERATION"
  114. value="FLEXIO_UART_IP_DRIVER_TYPE_INTERRUPTS">
  115. <a:a name="IMPORTER_INFO" value="@DEF"/>
  116. </d:var>
  117. <d:ref name="FlexioDmaChannelRef" type="REFERENCE" >
  118. <a:a name="ENABLE" value="false"/>
  119. <a:a name="IMPORTER_INFO" value="@DEF"/>
  120. </d:ref>
  121. <d:var name="DesireBaudrate" type="ENUMERATION"
  122. value="FLEXIO_UART_BAUDRATE_9600">
  123. <a:a name="IMPORTER_INFO" value="@DEF"/>
  124. </d:var>
  125. <d:var name="bitCount" type="ENUMERATION"
  126. value="FLEXIO_UART_IP_8_BITS_PER_CHAR">
  127. <a:a name="IMPORTER_INFO" value="@DEF"/>
  128. </d:var>
  129. <d:var name="driverDirection" type="ENUMERATION"
  130. value="FLEXIO_UART_IP_DIRECTION_TX">
  131. <a:a name="IMPORTER_INFO" value="@DEF"/>
  132. </d:var>
  133. <d:var name="FlexioCallbackFunction" type="FUNCTION-NAME"
  134. value="NULL_PTR">
  135. <a:a name="ENABLE" value="false"/>
  136. <a:a name="IMPORTER_INFO" value="@DEF"/>
  137. </d:var>
  138. </d:ctr>
  139. </d:ctr>
  140. <d:ctr name="LPUART1_4G" type="IDENTIFIABLE">
  141. <d:var name="UartHwUsing" type="ENUMERATION"
  142. value="LPUART_IP">
  143. <a:a name="IMPORTER_INFO" value="@DEF"/>
  144. </d:var>
  145. <d:var name="UartChannelId" type="INTEGER" value="1"/>
  146. <d:ref name="UartClockRef" type="REFERENCE"
  147. value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART1_CLK"/>
  148. <d:ref name="UartChannelEcucPartitionRef" type="REFERENCE" >
  149. <a:a name="ENABLE" value="false"/>
  150. <a:a name="IMPORTER_INFO" value="@DEF"/>
  151. </d:ref>
  152. <d:ctr name="DetailModuleConfiguration" type="IDENTIFIABLE">
  153. <d:var name="UartHwChannel" type="ENUMERATION"
  154. value="LPUART_1">
  155. <a:a name="IMPORTER_INFO">
  156. <a:v>@DEF</a:v>
  157. <a:v>@CALC</a:v>
  158. </a:a>
  159. </d:var>
  160. <d:var name="DesireBaudrate" type="ENUMERATION"
  161. value="LPUART_UART_BAUDRATE_115200"/>
  162. <d:var name="UartInteruptDmaMethod" type="ENUMERATION"
  163. value="LPUART_UART_IP_USING_DMA"/>
  164. <d:ref name="UartDmaTxChannelRef" type="REFERENCE"
  165. value="ASPath:/Mcl/Mcl/MclConfig/UART1_TX">
  166. <a:a name="ENABLE" value="true"/>
  167. </d:ref>
  168. <d:ref name="UartDmaRxChannelRef" type="REFERENCE"
  169. value="ASPath:/Mcl/Mcl/MclConfig/UART1_RX">
  170. <a:a name="ENABLE" value="true"/>
  171. </d:ref>
  172. <d:var name="UartParityType" type="ENUMERATION"
  173. value="LPUART_UART_IP_PARITY_DISABLED">
  174. <a:a name="IMPORTER_INFO" value="@DEF"/>
  175. </d:var>
  176. <d:var name="UartStopBitNumber" type="ENUMERATION"
  177. value="LPUART_UART_IP_ONE_STOP_BIT">
  178. <a:a name="IMPORTER_INFO" value="@DEF"/>
  179. </d:var>
  180. <d:var name="UartWordLength" type="ENUMERATION"
  181. value="LPUART_UART_IP_8_BITS_PER_CHAR">
  182. <a:a name="IMPORTER_INFO" value="@DEF"/>
  183. </d:var>
  184. <d:var name="UartCallback" type="FUNCTION-NAME"
  185. value="UART_Callback">
  186. <a:a name="ENABLE" value="true"/>
  187. </d:var>
  188. </d:ctr>
  189. <d:ctr name="FlexioModuleConfiguration" type="IDENTIFIABLE">
  190. <d:ref name="UartHwChannelRef" type="REFERENCE" >
  191. <a:a name="IMPORTER_INFO" value="@DEF"/>
  192. </d:ref>
  193. <d:var name="FlexioUartInteruptDmaMethod"
  194. type="ENUMERATION"
  195. value="FLEXIO_UART_IP_DRIVER_TYPE_INTERRUPTS">
  196. <a:a name="IMPORTER_INFO" value="@DEF"/>
  197. </d:var>
  198. <d:ref name="FlexioDmaChannelRef" type="REFERENCE" >
  199. <a:a name="ENABLE" value="false"/>
  200. <a:a name="IMPORTER_INFO" value="@DEF"/>
  201. </d:ref>
  202. <d:var name="DesireBaudrate" type="ENUMERATION"
  203. value="FLEXIO_UART_BAUDRATE_9600">
  204. <a:a name="IMPORTER_INFO" value="@DEF"/>
  205. </d:var>
  206. <d:var name="bitCount" type="ENUMERATION"
  207. value="FLEXIO_UART_IP_8_BITS_PER_CHAR">
  208. <a:a name="IMPORTER_INFO" value="@DEF"/>
  209. </d:var>
  210. <d:var name="driverDirection" type="ENUMERATION"
  211. value="FLEXIO_UART_IP_DIRECTION_TX">
  212. <a:a name="IMPORTER_INFO" value="@DEF"/>
  213. </d:var>
  214. <d:var name="FlexioCallbackFunction" type="FUNCTION-NAME"
  215. value="NULL_PTR">
  216. <a:a name="ENABLE" value="false"/>
  217. <a:a name="IMPORTER_INFO" value="@DEF"/>
  218. </d:var>
  219. </d:ctr>
  220. </d:ctr>
  221. <d:ctr name="LPUART2_GPS" type="IDENTIFIABLE">
  222. <d:var name="UartHwUsing" type="ENUMERATION"
  223. value="LPUART_IP">
  224. <a:a name="IMPORTER_INFO" value="@DEF"/>
  225. </d:var>
  226. <d:var name="UartChannelId" type="INTEGER" value="2"/>
  227. <d:ref name="UartClockRef" type="REFERENCE"
  228. value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART2_CLK"/>
  229. <d:ref name="UartChannelEcucPartitionRef" type="REFERENCE" >
  230. <a:a name="ENABLE" value="false"/>
  231. <a:a name="IMPORTER_INFO" value="@DEF"/>
  232. </d:ref>
  233. <d:ctr name="DetailModuleConfiguration" type="IDENTIFIABLE">
  234. <d:var name="UartHwChannel" type="ENUMERATION"
  235. value="LPUART_2">
  236. <a:a name="IMPORTER_INFO">
  237. <a:v>@DEF</a:v>
  238. <a:v>@CALC</a:v>
  239. </a:a>
  240. </d:var>
  241. <d:var name="DesireBaudrate" type="ENUMERATION"
  242. value="LPUART_UART_BAUDRATE_9600"/>
  243. <d:var name="UartInteruptDmaMethod" type="ENUMERATION"
  244. value="LPUART_UART_IP_USING_DMA"/>
  245. <d:ref name="UartDmaTxChannelRef" type="REFERENCE"
  246. value="ASPath:/Mcl/Mcl/MclConfig/UART2_TX">
  247. <a:a name="ENABLE" value="true"/>
  248. </d:ref>
  249. <d:ref name="UartDmaRxChannelRef" type="REFERENCE"
  250. value="ASPath:/Mcl/Mcl/MclConfig/UART2_RX">
  251. <a:a name="ENABLE" value="true"/>
  252. </d:ref>
  253. <d:var name="UartParityType" type="ENUMERATION"
  254. value="LPUART_UART_IP_PARITY_DISABLED">
  255. <a:a name="IMPORTER_INFO" value="@DEF"/>
  256. </d:var>
  257. <d:var name="UartStopBitNumber" type="ENUMERATION"
  258. value="LPUART_UART_IP_ONE_STOP_BIT">
  259. <a:a name="IMPORTER_INFO" value="@DEF"/>
  260. </d:var>
  261. <d:var name="UartWordLength" type="ENUMERATION"
  262. value="LPUART_UART_IP_8_BITS_PER_CHAR">
  263. <a:a name="IMPORTER_INFO" value="@DEF"/>
  264. </d:var>
  265. <d:var name="UartCallback" type="FUNCTION-NAME"
  266. value="UART_Callback">
  267. <a:a name="ENABLE" value="true"/>
  268. </d:var>
  269. </d:ctr>
  270. <d:ctr name="FlexioModuleConfiguration" type="IDENTIFIABLE">
  271. <d:ref name="UartHwChannelRef" type="REFERENCE" >
  272. <a:a name="IMPORTER_INFO" value="@DEF"/>
  273. </d:ref>
  274. <d:var name="FlexioUartInteruptDmaMethod"
  275. type="ENUMERATION"
  276. value="FLEXIO_UART_IP_DRIVER_TYPE_INTERRUPTS">
  277. <a:a name="IMPORTER_INFO" value="@DEF"/>
  278. </d:var>
  279. <d:ref name="FlexioDmaChannelRef" type="REFERENCE" >
  280. <a:a name="ENABLE" value="false"/>
  281. <a:a name="IMPORTER_INFO" value="@DEF"/>
  282. </d:ref>
  283. <d:var name="DesireBaudrate" type="ENUMERATION"
  284. value="FLEXIO_UART_BAUDRATE_9600">
  285. <a:a name="IMPORTER_INFO" value="@DEF"/>
  286. </d:var>
  287. <d:var name="bitCount" type="ENUMERATION"
  288. value="FLEXIO_UART_IP_8_BITS_PER_CHAR">
  289. <a:a name="IMPORTER_INFO" value="@DEF"/>
  290. </d:var>
  291. <d:var name="driverDirection" type="ENUMERATION"
  292. value="FLEXIO_UART_IP_DIRECTION_TX">
  293. <a:a name="IMPORTER_INFO" value="@DEF"/>
  294. </d:var>
  295. <d:var name="FlexioCallbackFunction" type="FUNCTION-NAME"
  296. value="NULL_PTR">
  297. <a:a name="ENABLE" value="false"/>
  298. <a:a name="IMPORTER_INFO" value="@DEF"/>
  299. </d:var>
  300. </d:ctr>
  301. </d:ctr>
  302. </d:lst>
  303. </d:ctr>
  304. <d:ctr name="CommonPublishedInformation" type="IDENTIFIABLE">
  305. <d:var name="ArReleaseMajorVersion" type="INTEGER" value="4">
  306. <a:a name="IMPORTER_INFO" value="@DEF"/>
  307. </d:var>
  308. <d:var name="ArReleaseMinorVersion" type="INTEGER" value="4">
  309. <a:a name="IMPORTER_INFO" value="@DEF"/>
  310. </d:var>
  311. <d:var name="ArReleaseRevisionVersion" type="INTEGER" value="0">
  312. <a:a name="IMPORTER_INFO" value="@DEF"/>
  313. </d:var>
  314. <d:var name="ModuleId" type="INTEGER" value="255">
  315. <a:a name="IMPORTER_INFO" value="@DEF"/>
  316. </d:var>
  317. <d:var name="SwMajorVersion" type="INTEGER" value="1">
  318. <a:a name="IMPORTER_INFO" value="@DEF"/>
  319. </d:var>
  320. <d:var name="SwMinorVersion" type="INTEGER" value="0">
  321. <a:a name="IMPORTER_INFO" value="@DEF"/>
  322. </d:var>
  323. <d:var name="SwPatchVersion" type="INTEGER" value="0">
  324. <a:a name="IMPORTER_INFO" value="@DEF"/>
  325. </d:var>
  326. <d:var name="VendorApiInfix" type="STRING" value="">
  327. <a:a name="IMPORTER_INFO" value="@DEF"/>
  328. </d:var>
  329. <d:var name="VendorId" type="INTEGER" value="43">
  330. <a:a name="IMPORTER_INFO" value="@DEF"/>
  331. </d:var>
  332. </d:ctr>
  333. </d:ctr>
  334. </d:chc>
  335. </d:lst>
  336. </d:ctr>
  337. </d:lst>
  338. </d:ctr>
  339. </datamodel>