Uart.xdm 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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_DUMMY">
  42. <a:a name="IMPORTER_INFO" value="@DEF"/>
  43. </d:var>
  44. <d:var name="UartTimeoutDuration" type="INTEGER" value="500000"/>
  45. <d:var name="UartDmaEnable" type="BOOLEAN" value="true"/>
  46. <d:var name="UartVersionInfoApi" type="BOOLEAN" value="true">
  47. <a:a name="IMPORTER_INFO" value="@DEF"/>
  48. </d:var>
  49. <d:var name="UartCallbackCapability" type="BOOLEAN" value="true"/>
  50. </d:ctr>
  51. <d:lst name="UartEcucPartitionRef"/>
  52. <d:ctr name="UartGlobalConfig" type="IDENTIFIABLE">
  53. <d:lst name="UartChannel" type="MAP">
  54. <d:ctr name="LPUART0_RS232" type="IDENTIFIABLE">
  55. <d:var name="UartHwUsing" type="ENUMERATION"
  56. value="LPUART_IP">
  57. <a:a name="IMPORTER_INFO" value="@DEF"/>
  58. </d:var>
  59. <d:var name="UartChannelId" type="INTEGER" value="0">
  60. <a:a name="IMPORTER_INFO">
  61. <a:v>@DEF</a:v>
  62. <a:v>@CALC</a:v>
  63. </a:a>
  64. </d:var>
  65. <d:ref name="UartClockRef" type="REFERENCE"
  66. value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART0_CLK"/>
  67. <d:ref name="UartChannelEcucPartitionRef" type="REFERENCE" >
  68. <a:a name="ENABLE" value="false"/>
  69. <a:a name="IMPORTER_INFO" value="@DEF"/>
  70. </d:ref>
  71. <d:ctr name="DetailModuleConfiguration" type="IDENTIFIABLE">
  72. <d:var name="UartHwChannel" type="ENUMERATION"
  73. value="LPUART_0">
  74. <a:a name="IMPORTER_INFO">
  75. <a:v>@DEF</a:v>
  76. <a:v>@CALC</a:v>
  77. </a:a>
  78. </d:var>
  79. <d:var name="DesireBaudrate" type="ENUMERATION"
  80. value="LPUART_UART_BAUDRATE_9600">
  81. <a:a name="IMPORTER_INFO" value="@DEF"/>
  82. </d:var>
  83. <d:var name="UartInteruptDmaMethod" type="ENUMERATION"
  84. value="LPUART_UART_IP_USING_DMA"/>
  85. <d:ref name="UartDmaTxChannelRef" type="REFERENCE"
  86. value="ASPath:/Mcl/Mcl/MclConfig/UART0_TX">
  87. <a:a name="ENABLE" value="true"/>
  88. </d:ref>
  89. <d:ref name="UartDmaRxChannelRef" type="REFERENCE"
  90. value="ASPath:/Mcl/Mcl/MclConfig/UART0_RX">
  91. <a:a name="ENABLE" value="true"/>
  92. </d:ref>
  93. <d:var name="UartParityType" type="ENUMERATION"
  94. value="LPUART_UART_IP_PARITY_DISABLED">
  95. <a:a name="IMPORTER_INFO" value="@DEF"/>
  96. </d:var>
  97. <d:var name="UartStopBitNumber" type="ENUMERATION"
  98. value="LPUART_UART_IP_ONE_STOP_BIT">
  99. <a:a name="IMPORTER_INFO" value="@DEF"/>
  100. </d:var>
  101. <d:var name="UartWordLength" type="ENUMERATION"
  102. value="LPUART_UART_IP_8_BITS_PER_CHAR">
  103. <a:a name="IMPORTER_INFO" value="@DEF"/>
  104. </d:var>
  105. <d:var name="UartCallback" type="FUNCTION-NAME"
  106. value="UART_Callback">
  107. <a:a name="ENABLE" value="true"/>
  108. </d:var>
  109. </d:ctr>
  110. <d:ctr name="FlexioModuleConfiguration" type="IDENTIFIABLE">
  111. <d:ref name="UartHwChannelRef" type="REFERENCE" >
  112. <a:a name="IMPORTER_INFO" value="@DEF"/>
  113. </d:ref>
  114. <d:var name="FlexioUartInteruptDmaMethod"
  115. type="ENUMERATION"
  116. value="FLEXIO_UART_IP_DRIVER_TYPE_INTERRUPTS">
  117. <a:a name="IMPORTER_INFO" value="@DEF"/>
  118. </d:var>
  119. <d:ref name="FlexioDmaChannelRef" type="REFERENCE" >
  120. <a:a name="ENABLE" value="false"/>
  121. <a:a name="IMPORTER_INFO" value="@DEF"/>
  122. </d:ref>
  123. <d:var name="DesireBaudrate" type="ENUMERATION"
  124. value="FLEXIO_UART_BAUDRATE_9600">
  125. <a:a name="IMPORTER_INFO" value="@DEF"/>
  126. </d:var>
  127. <d:var name="bitCount" type="ENUMERATION"
  128. value="FLEXIO_UART_IP_8_BITS_PER_CHAR">
  129. <a:a name="IMPORTER_INFO" value="@DEF"/>
  130. </d:var>
  131. <d:var name="driverDirection" type="ENUMERATION"
  132. value="FLEXIO_UART_IP_DIRECTION_TX">
  133. <a:a name="IMPORTER_INFO" value="@DEF"/>
  134. </d:var>
  135. <d:var name="FlexioCallbackFunction" type="FUNCTION-NAME"
  136. value="NULL_PTR">
  137. <a:a name="ENABLE" value="false"/>
  138. <a:a name="IMPORTER_INFO" value="@DEF"/>
  139. </d:var>
  140. </d:ctr>
  141. </d:ctr>
  142. <d:ctr name="LPUART1_WIFI" type="IDENTIFIABLE">
  143. <d:var name="UartHwUsing" type="ENUMERATION"
  144. value="LPUART_IP">
  145. <a:a name="IMPORTER_INFO" value="@DEF"/>
  146. </d:var>
  147. <d:var name="UartChannelId" type="INTEGER" value="1"/>
  148. <d:ref name="UartClockRef" type="REFERENCE"
  149. value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART1_CLK"/>
  150. <d:ref name="UartChannelEcucPartitionRef" type="REFERENCE" >
  151. <a:a name="ENABLE" value="false"/>
  152. <a:a name="IMPORTER_INFO" value="@DEF"/>
  153. </d:ref>
  154. <d:ctr name="DetailModuleConfiguration" type="IDENTIFIABLE">
  155. <d:var name="UartHwChannel" type="ENUMERATION"
  156. value="LPUART_1">
  157. <a:a name="IMPORTER_INFO">
  158. <a:v>@DEF</a:v>
  159. <a:v>@CALC</a:v>
  160. </a:a>
  161. </d:var>
  162. <d:var name="DesireBaudrate" type="ENUMERATION"
  163. value="LPUART_UART_BAUDRATE_115200"/>
  164. <d:var name="UartInteruptDmaMethod" type="ENUMERATION"
  165. value="LPUART_UART_IP_USING_DMA"/>
  166. <d:ref name="UartDmaTxChannelRef" type="REFERENCE"
  167. value="ASPath:/Mcl/Mcl/MclConfig/UART1_TX">
  168. <a:a name="ENABLE" value="true"/>
  169. </d:ref>
  170. <d:ref name="UartDmaRxChannelRef" type="REFERENCE"
  171. value="ASPath:/Mcl/Mcl/MclConfig/UART1_RX">
  172. <a:a name="ENABLE" value="true"/>
  173. </d:ref>
  174. <d:var name="UartParityType" type="ENUMERATION"
  175. value="LPUART_UART_IP_PARITY_DISABLED">
  176. <a:a name="IMPORTER_INFO" value="@DEF"/>
  177. </d:var>
  178. <d:var name="UartStopBitNumber" type="ENUMERATION"
  179. value="LPUART_UART_IP_ONE_STOP_BIT">
  180. <a:a name="IMPORTER_INFO" value="@DEF"/>
  181. </d:var>
  182. <d:var name="UartWordLength" type="ENUMERATION"
  183. value="LPUART_UART_IP_8_BITS_PER_CHAR">
  184. <a:a name="IMPORTER_INFO" value="@DEF"/>
  185. </d:var>
  186. <d:var name="UartCallback" type="FUNCTION-NAME"
  187. value="UART_Callback">
  188. <a:a name="ENABLE" value="true"/>
  189. </d:var>
  190. </d:ctr>
  191. <d:ctr name="FlexioModuleConfiguration" type="IDENTIFIABLE">
  192. <d:ref name="UartHwChannelRef" type="REFERENCE" >
  193. <a:a name="IMPORTER_INFO" value="@DEF"/>
  194. </d:ref>
  195. <d:var name="FlexioUartInteruptDmaMethod"
  196. type="ENUMERATION"
  197. value="FLEXIO_UART_IP_DRIVER_TYPE_INTERRUPTS">
  198. <a:a name="IMPORTER_INFO" value="@DEF"/>
  199. </d:var>
  200. <d:ref name="FlexioDmaChannelRef" type="REFERENCE" >
  201. <a:a name="ENABLE" value="false"/>
  202. <a:a name="IMPORTER_INFO" value="@DEF"/>
  203. </d:ref>
  204. <d:var name="DesireBaudrate" type="ENUMERATION"
  205. value="FLEXIO_UART_BAUDRATE_9600">
  206. <a:a name="IMPORTER_INFO" value="@DEF"/>
  207. </d:var>
  208. <d:var name="bitCount" type="ENUMERATION"
  209. value="FLEXIO_UART_IP_8_BITS_PER_CHAR">
  210. <a:a name="IMPORTER_INFO" value="@DEF"/>
  211. </d:var>
  212. <d:var name="driverDirection" type="ENUMERATION"
  213. value="FLEXIO_UART_IP_DIRECTION_TX">
  214. <a:a name="IMPORTER_INFO" value="@DEF"/>
  215. </d:var>
  216. <d:var name="FlexioCallbackFunction" type="FUNCTION-NAME"
  217. value="NULL_PTR">
  218. <a:a name="ENABLE" value="false"/>
  219. <a:a name="IMPORTER_INFO" value="@DEF"/>
  220. </d:var>
  221. </d:ctr>
  222. </d:ctr>
  223. <d:ctr name="LPUART2_BT" type="IDENTIFIABLE">
  224. <d:var name="UartHwUsing" type="ENUMERATION"
  225. value="LPUART_IP">
  226. <a:a name="IMPORTER_INFO" value="@DEF"/>
  227. </d:var>
  228. <d:var name="UartChannelId" type="INTEGER" value="2"/>
  229. <d:ref name="UartClockRef" type="REFERENCE"
  230. value="ASPath:/Mcu/Mcu/McuModuleConfiguration/McuClockSettingConfig_0/McuClockReferencePoint_LPUART2_CLK"/>
  231. <d:ref name="UartChannelEcucPartitionRef" type="REFERENCE" >
  232. <a:a name="ENABLE" value="false"/>
  233. <a:a name="IMPORTER_INFO" value="@DEF"/>
  234. </d:ref>
  235. <d:ctr name="DetailModuleConfiguration" type="IDENTIFIABLE">
  236. <d:var name="UartHwChannel" type="ENUMERATION"
  237. value="LPUART_2">
  238. <a:a name="IMPORTER_INFO">
  239. <a:v>@DEF</a:v>
  240. <a:v>@CALC</a:v>
  241. </a:a>
  242. </d:var>
  243. <d:var name="DesireBaudrate" type="ENUMERATION"
  244. value="LPUART_UART_BAUDRATE_115200"/>
  245. <d:var name="UartInteruptDmaMethod" type="ENUMERATION"
  246. value="LPUART_UART_IP_USING_DMA"/>
  247. <d:ref name="UartDmaTxChannelRef" type="REFERENCE"
  248. value="ASPath:/Mcl/Mcl/MclConfig/UART2_TX">
  249. <a:a name="ENABLE" value="true"/>
  250. </d:ref>
  251. <d:ref name="UartDmaRxChannelRef" type="REFERENCE"
  252. value="ASPath:/Mcl/Mcl/MclConfig/UART2_RX">
  253. <a:a name="ENABLE" value="true"/>
  254. </d:ref>
  255. <d:var name="UartParityType" type="ENUMERATION"
  256. value="LPUART_UART_IP_PARITY_DISABLED">
  257. <a:a name="IMPORTER_INFO" value="@DEF"/>
  258. </d:var>
  259. <d:var name="UartStopBitNumber" type="ENUMERATION"
  260. value="LPUART_UART_IP_ONE_STOP_BIT">
  261. <a:a name="IMPORTER_INFO" value="@DEF"/>
  262. </d:var>
  263. <d:var name="UartWordLength" type="ENUMERATION"
  264. value="LPUART_UART_IP_8_BITS_PER_CHAR">
  265. <a:a name="IMPORTER_INFO" value="@DEF"/>
  266. </d:var>
  267. <d:var name="UartCallback" type="FUNCTION-NAME"
  268. value="UART_Callback">
  269. <a:a name="ENABLE" value="true"/>
  270. </d:var>
  271. </d:ctr>
  272. <d:ctr name="FlexioModuleConfiguration" type="IDENTIFIABLE">
  273. <d:ref name="UartHwChannelRef" type="REFERENCE" >
  274. <a:a name="IMPORTER_INFO" value="@DEF"/>
  275. </d:ref>
  276. <d:var name="FlexioUartInteruptDmaMethod"
  277. type="ENUMERATION"
  278. value="FLEXIO_UART_IP_DRIVER_TYPE_INTERRUPTS">
  279. <a:a name="IMPORTER_INFO" value="@DEF"/>
  280. </d:var>
  281. <d:ref name="FlexioDmaChannelRef" type="REFERENCE" >
  282. <a:a name="ENABLE" value="false"/>
  283. <a:a name="IMPORTER_INFO" value="@DEF"/>
  284. </d:ref>
  285. <d:var name="DesireBaudrate" type="ENUMERATION"
  286. value="FLEXIO_UART_BAUDRATE_9600">
  287. <a:a name="IMPORTER_INFO" value="@DEF"/>
  288. </d:var>
  289. <d:var name="bitCount" type="ENUMERATION"
  290. value="FLEXIO_UART_IP_8_BITS_PER_CHAR">
  291. <a:a name="IMPORTER_INFO" value="@DEF"/>
  292. </d:var>
  293. <d:var name="driverDirection" type="ENUMERATION"
  294. value="FLEXIO_UART_IP_DIRECTION_TX">
  295. <a:a name="IMPORTER_INFO" value="@DEF"/>
  296. </d:var>
  297. <d:var name="FlexioCallbackFunction" type="FUNCTION-NAME"
  298. value="NULL_PTR">
  299. <a:a name="ENABLE" value="false"/>
  300. <a:a name="IMPORTER_INFO" value="@DEF"/>
  301. </d:var>
  302. </d:ctr>
  303. </d:ctr>
  304. </d:lst>
  305. </d:ctr>
  306. <d:ctr name="CommonPublishedInformation" type="IDENTIFIABLE">
  307. <d:var name="ArReleaseMajorVersion" type="INTEGER" value="4">
  308. <a:a name="IMPORTER_INFO" value="@DEF"/>
  309. </d:var>
  310. <d:var name="ArReleaseMinorVersion" type="INTEGER" value="4">
  311. <a:a name="IMPORTER_INFO" value="@DEF"/>
  312. </d:var>
  313. <d:var name="ArReleaseRevisionVersion" type="INTEGER" value="0">
  314. <a:a name="IMPORTER_INFO" value="@DEF"/>
  315. </d:var>
  316. <d:var name="ModuleId" type="INTEGER" value="255">
  317. <a:a name="IMPORTER_INFO" value="@DEF"/>
  318. </d:var>
  319. <d:var name="SwMajorVersion" type="INTEGER" value="1">
  320. <a:a name="IMPORTER_INFO" value="@DEF"/>
  321. </d:var>
  322. <d:var name="SwMinorVersion" type="INTEGER" value="0">
  323. <a:a name="IMPORTER_INFO" value="@DEF"/>
  324. </d:var>
  325. <d:var name="SwPatchVersion" type="INTEGER" value="0">
  326. <a:a name="IMPORTER_INFO" value="@DEF"/>
  327. </d:var>
  328. <d:var name="VendorApiInfix" type="STRING" value="">
  329. <a:a name="IMPORTER_INFO" value="@DEF"/>
  330. </d:var>
  331. <d:var name="VendorId" type="INTEGER" value="43">
  332. <a:a name="IMPORTER_INFO" value="@DEF"/>
  333. </d:var>
  334. </d:ctr>
  335. </d:ctr>
  336. </d:chc>
  337. </d:lst>
  338. </d:ctr>
  339. </d:lst>
  340. </d:ctr>
  341. </datamodel>