2022-04-08 14:46:35 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.5" / >
2023-11-30 12:55:00 +00:00
< title > MCUXpresso SDK API Reference Manual: LPUART eDMA Driver< / title >
2022-04-08 14:46:35 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" >
$(document).ready(initResizable);
$(window).load(resizeHeight);
< / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "fs_logo.gif" / > < / td >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > MCUXpresso SDK API Reference Manual
2024-03-18 15:15:10 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2022-04-08 14:46:35 +00:00
< / div >
< div id = "projectbrief" > NXP Semiconductors< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > API  Reference< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
$(document).ready(function(){initNavTree('a00053.html','');});
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Data Structures< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Groups< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
2023-11-30 12:55:00 +00:00
< a href = "#typedef-members" > Typedefs< / a > < / div >
2022-04-08 14:46:35 +00:00
< div class = "headertitle" >
2024-03-18 15:15:10 +00:00
< div class = "title" > LPUART eDMA Driver< div class = "ingroups" > < a class = "el" href = "a00286.html" > LPUART: Low Power Universal Asynchronous Receiver/Transmitter Driver< / a > < / div > < / div > < / div >
2022-04-08 14:46:35 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2023-11-30 12:55:00 +00:00
< table class = "memberdecls" >
2022-04-08 14:46:35 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:a00445" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a00445" > _lpuart_edma_handle< / a > < / td > < / tr >
< tr class = "memdesc:a00445" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > LPUART eDMA handle. < a href = "a00053.html#a00445" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00445" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gaed2bf1ac041ea4526ccf5ab0eba4da73" > < td class = "memItemLeft" align = "right" valign = "top" > typedef void(*  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#gaed2bf1ac041ea4526ccf5ab0eba4da73" > lpuart_edma_transfer_callback_t< / a > )(LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gaed2bf1ac041ea4526ccf5ab0eba4da73" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > LPUART transfer callback function. < a href = "#gaed2bf1ac041ea4526ccf5ab0eba4da73" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaed2bf1ac041ea4526ccf5ab0eba4da73" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
2023-11-30 12:55:00 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
Driver version< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga9bfcb92913944fb359c4544b4cdee5d3" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga9bfcb92913944fb359c4544b4cdee5d3" > FSL_LPUART_EDMA_DRIVER_VERSION< / a >       (< a class = "el" href = "a00272.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 6, 0))< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga9bfcb92913944fb359c4544b4cdee5d3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > LPUART EDMA driver version. < a href = "#ga9bfcb92913944fb359c4544b4cdee5d3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9bfcb92913944fb359c4544b4cdee5d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
2023-11-30 12:55:00 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
eDMA transactional< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga4891d980e0e489932e8d3b5c52588c2e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga4891d980e0e489932e8d3b5c52588c2e" > LPUART_TransferCreateHandleEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, < a class = "el" href = "a00053.html#gaed2bf1ac041ea4526ccf5ab0eba4da73" > lpuart_edma_transfer_callback_t< / a > callback, void *userData, < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *txEdmaHandle, < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *rxEdmaHandle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga4891d980e0e489932e8d3b5c52588c2e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the LPUART handle which is used in transactional functions. < a href = "#ga4891d980e0e489932e8d3b5c52588c2e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga4891d980e0e489932e8d3b5c52588c2e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga24c9dff9f142243ed5ffb3112a356386" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga24c9dff9f142243ed5ffb3112a356386" > LPUART_SendEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, < a class = "el" href = "a00052.html#ga1d4707ebc5d49dd655eedb7e5acd27fd" > lpuart_transfer_t< / a > *xfer)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga24c9dff9f142243ed5ffb3112a356386" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sends data using eDMA. < a href = "#ga24c9dff9f142243ed5ffb3112a356386" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga24c9dff9f142243ed5ffb3112a356386" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga57b356ccc56276a557b3ddf53f6a7c0f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga57b356ccc56276a557b3ddf53f6a7c0f" > LPUART_ReceiveEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, < a class = "el" href = "a00052.html#ga1d4707ebc5d49dd655eedb7e5acd27fd" > lpuart_transfer_t< / a > *xfer)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga57b356ccc56276a557b3ddf53f6a7c0f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Receives data using eDMA. < a href = "#ga57b356ccc56276a557b3ddf53f6a7c0f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga57b356ccc56276a557b3ddf53f6a7c0f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga48033a0651d1e68133bbb73ded3d9309" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga48033a0651d1e68133bbb73ded3d9309" > LPUART_TransferAbortSendEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga48033a0651d1e68133bbb73ded3d9309" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts the sent data using eDMA. < a href = "#ga48033a0651d1e68133bbb73ded3d9309" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga48033a0651d1e68133bbb73ded3d9309" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gaf4160e8481b5d0861fa2f4ea14ccc13e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#gaf4160e8481b5d0861fa2f4ea14ccc13e" > LPUART_TransferAbortReceiveEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gaf4160e8481b5d0861fa2f4ea14ccc13e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts the received data using eDMA. < a href = "#gaf4160e8481b5d0861fa2f4ea14ccc13e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf4160e8481b5d0861fa2f4ea14ccc13e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga0369d8b3a9238d88f2ef527b2cdbf152" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga0369d8b3a9238d88f2ef527b2cdbf152" > LPUART_TransferGetSendCountEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, uint32_t *count)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga0369d8b3a9238d88f2ef527b2cdbf152" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the number of bytes written to the LPUART TX register. < a href = "#ga0369d8b3a9238d88f2ef527b2cdbf152" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga0369d8b3a9238d88f2ef527b2cdbf152" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga433b9163c0d46f0e8b65b5ded880a1f8" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga433b9163c0d46f0e8b65b5ded880a1f8" > LPUART_TransferGetReceiveCountEDMA< / a > (LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, uint32_t *count)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga433b9163c0d46f0e8b65b5ded880a1f8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the number of received bytes. < a href = "#ga433b9163c0d46f0e8b65b5ded880a1f8" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga433b9163c0d46f0e8b65b5ded880a1f8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga898e2e544106c928c6930605ff59fc43" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#ga898e2e544106c928c6930605ff59fc43" > LPUART_TransferEdmaHandleIRQ< / a > (LPUART_Type *base, void *lpuartEdmaHandle)< / td > < / tr >
< tr class = "memdesc:ga898e2e544106c928c6930605ff59fc43" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > LPUART eDMA IRQ handle function. < a href = "#ga898e2e544106c928c6930605ff59fc43" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga898e2e544106c928c6930605ff59fc43" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-03-18 15:15:10 +00:00
< a name = "a00445" id = "a00445" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > struct _lpuart_edma_handle< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "textblock" > < / div > < table class = "memberdecls" >
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:a265b1cbd7ed0c77b69061e1f1bd3f510" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00053.html#gaed2bf1ac041ea4526ccf5ab0eba4da73" > lpuart_edma_transfer_callback_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a265b1cbd7ed0c77b69061e1f1bd3f510" > callback< / a > < / td > < / tr >
< tr class = "memdesc:a265b1cbd7ed0c77b69061e1f1bd3f510" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Callback function. < a href = "#a265b1cbd7ed0c77b69061e1f1bd3f510" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a265b1cbd7ed0c77b69061e1f1bd3f510" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a187949f527e4f0cf3d01fd303179bbd4" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a187949f527e4f0cf3d01fd303179bbd4" > userData< / a > < / td > < / tr >
< tr class = "memdesc:a187949f527e4f0cf3d01fd303179bbd4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > LPUART callback function parameter. < a href = "#a187949f527e4f0cf3d01fd303179bbd4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a187949f527e4f0cf3d01fd303179bbd4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4bf4bac1ca23b855cdf622eefb985e83" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a4bf4bac1ca23b855cdf622eefb985e83" > rxDataSizeAll< / a > < / td > < / tr >
< tr class = "memdesc:a4bf4bac1ca23b855cdf622eefb985e83" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Size of the data to receive. < a href = "#a4bf4bac1ca23b855cdf622eefb985e83" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a4bf4bac1ca23b855cdf622eefb985e83" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a19d5baf779d4bf44d755fc51ad1eab45" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a19d5baf779d4bf44d755fc51ad1eab45" > txDataSizeAll< / a > < / td > < / tr >
< tr class = "memdesc:a19d5baf779d4bf44d755fc51ad1eab45" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Size of the data to send out. < a href = "#a19d5baf779d4bf44d755fc51ad1eab45" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a19d5baf779d4bf44d755fc51ad1eab45" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a76902815f37ba3b8054399f4599627ca" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a76902815f37ba3b8054399f4599627ca" > txEdmaHandle< / a > < / td > < / tr >
< tr class = "memdesc:a76902815f37ba3b8054399f4599627ca" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The eDMA TX channel used. < a href = "#a76902815f37ba3b8054399f4599627ca" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a76902815f37ba3b8054399f4599627ca" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a73e048fbe31a9bc446ca834433161a22" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a73e048fbe31a9bc446ca834433161a22" > rxEdmaHandle< / a > < / td > < / tr >
< tr class = "memdesc:a73e048fbe31a9bc446ca834433161a22" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The eDMA RX channel used. < a href = "#a73e048fbe31a9bc446ca834433161a22" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a73e048fbe31a9bc446ca834433161a22" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a03dc8e0516d31d6e8c51e8e9304861cf" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a03dc8e0516d31d6e8c51e8e9304861cf" > nbytes< / a > < / td > < / tr >
< tr class = "memdesc:a03dc8e0516d31d6e8c51e8e9304861cf" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > eDMA minor byte transfer count initially configured. < a href = "#a03dc8e0516d31d6e8c51e8e9304861cf" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a03dc8e0516d31d6e8c51e8e9304861cf" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8921d228d567642a1c84e33b81df6b65" > < td class = "memItemLeft" align = "right" valign = "top" > volatile uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a8921d228d567642a1c84e33b81df6b65" > txState< / a > < / td > < / tr >
< tr class = "memdesc:a8921d228d567642a1c84e33b81df6b65" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TX transfer state. < a href = "#a8921d228d567642a1c84e33b81df6b65" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a8921d228d567642a1c84e33b81df6b65" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6f42343dc7cb9f0cd6b8cd7ab163ac60" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6f42343dc7cb9f0cd6b8cd7ab163ac60" > < / a >
volatile uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00053.html#a6f42343dc7cb9f0cd6b8cd7ab163ac60" > rxState< / a > < / td > < / tr >
< tr class = "memdesc:a6f42343dc7cb9f0cd6b8cd7ab163ac60" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > RX transfer state. < br / > < / td > < / tr >
< tr class = "separator:a6f42343dc7cb9f0cd6b8cd7ab163ac60" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< h4 class = "groupheader" > Field Documentation< / h4 >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a265b1cbd7ed0c77b69061e1f1bd3f510" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00053.html#gaed2bf1ac041ea4526ccf5ab0eba4da73" > lpuart_edma_transfer_callback_t< / a > _lpuart_edma_handle::callback< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a187949f527e4f0cf3d01fd303179bbd4" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > void* _lpuart_edma_handle::userData< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a4bf4bac1ca23b855cdf622eefb985e83" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > size_t _lpuart_edma_handle::rxDataSizeAll< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a19d5baf779d4bf44d755fc51ad1eab45" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > size_t _lpuart_edma_handle::txDataSizeAll< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a76902815f37ba3b8054399f4599627ca" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > * _lpuart_edma_handle::txEdmaHandle< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a73e048fbe31a9bc446ca834433161a22" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > * _lpuart_edma_handle::rxEdmaHandle< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a03dc8e0516d31d6e8c51e8e9304861cf" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > uint8_t _lpuart_edma_handle::nbytes< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a8921d228d567642a1c84e33b81df6b65" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > volatile uint8_t _lpuart_edma_handle::txState< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "ga9bfcb92913944fb359c4544b4cdee5d3" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > #define FSL_LPUART_EDMA_DRIVER_VERSION      (< a class = "el" href = "a00272.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 6, 0))< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "gaed2bf1ac041ea4526ccf5ab0eba4da73" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > typedef void(* lpuart_edma_transfer_callback_t)(LPUART_Type *base, < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *handle, < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "ga4891d980e0e489932e8d3b5c52588c2e" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > void LPUART_TransferCreateHandleEDMA < / td >
< td > (< / td >
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00053.html#gaed2bf1ac041ea4526ccf5ab0eba4da73" > lpuart_edma_transfer_callback_t< / a >   < / td >
< td class = "paramname" > < em > callback< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > userData< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > txEdmaHandle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > rxEdmaHandle< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< dl class = "section note" > < dt > Note< / dt > < dd > This function disables all LPUART interrupts.< / dd > < / dl >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to lpuart_edma_handle_t structure. < / td > < / tr >
< tr > < td class = "paramname" > callback< / td > < td > Callback function. < / td > < / tr >
< tr > < td class = "paramname" > userData< / td > < td > User data. < / td > < / tr >
< tr > < td class = "paramname" > txEdmaHandle< / td > < td > User requested DMA handle for TX DMA transfer. < / td > < / tr >
< tr > < td class = "paramname" > rxEdmaHandle< / td > < td > User requested DMA handle for RX DMA transfer. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga24c9dff9f142243ed5ffb3112a356386" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > LPUART_SendEDMA < / td >
2023-11-30 12:55:00 +00:00
< td > (< / td >
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00052.html#ga1d4707ebc5d49dd655eedb7e5acd27fd" > lpuart_transfer_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > xfer< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function sends data using eDMA. This is a non-blocking function, which returns right away. When all data is sent, the send callback function is called.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > LPUART handle pointer. < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > xfer< / td > < td > LPUART eDMA transfer structure. See < a class = "el" href = "a00052.html#ga1d4707ebc5d49dd655eedb7e5acd27fd" title = "LPUART transfer structure. " > lpuart_transfer_t< / a > . < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > kStatus_Success< / td > < td > if succeed, others failed. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_LPUART_TxBusy< / td > < td > Previous transfer on going. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Invalid argument. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga57b356ccc56276a557b3ddf53f6a7c0f" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > LPUART_ReceiveEDMA < / td >
2023-11-30 12:55:00 +00:00
< td > (< / td >
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00052.html#ga1d4707ebc5d49dd655eedb7e5acd27fd" > lpuart_transfer_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > xfer< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function receives data using eDMA. This is non-blocking function, which returns right away. When all data is received, the receive callback function is called.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to lpuart_edma_handle_t structure. < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > xfer< / td > < td > LPUART eDMA transfer structure, see < a class = "el" href = "a00052.html#ga1d4707ebc5d49dd655eedb7e5acd27fd" title = "LPUART transfer structure. " > lpuart_transfer_t< / a > . < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > kStatus_Success< / td > < td > if succeed, others fail. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_LPUART_RxBusy< / td > < td > Previous transfer ongoing. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Invalid argument. < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga48033a0651d1e68133bbb73ded3d9309" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > void LPUART_TransferAbortSendEDMA < / td >
< td > (< / td >
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function aborts the sent data using eDMA.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to lpuart_edma_handle_t structure. < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "gaf4160e8481b5d0861fa2f4ea14ccc13e" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > void LPUART_TransferAbortReceiveEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / div > < div class = "memdoc" >
< p > This function aborts the received data using eDMA.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to lpuart_edma_handle_t structure. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga0369d8b3a9238d88f2ef527b2cdbf152" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2022-04-08 14:46:35 +00:00
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > LPUART_TransferGetSendCountEDMA < / td >
2023-11-30 12:55:00 +00:00
< td > (< / td >
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > uint32_t *  < / td >
< td class = "paramname" > < em > count< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function gets the number of bytes written to the LPUART TX register by DMA.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > LPUART handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Send bytes count. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > kStatus_NoTransferInProgress< / td > < td > No send in progress. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Parameter is invalid. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_Success< / td > < td > Get successfully through the parameter < code > count< / code > ; < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga433b9163c0d46f0e8b65b5ded880a1f8" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > LPUART_TransferGetReceiveCountEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00053.html#a00445" > lpuart_edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > uint32_t *  < / td >
< td class = "paramname" > < em > count< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function gets the number of received bytes.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > LPUART handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Receive bytes count. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > kStatus_NoTransferInProgress< / td > < td > No receive in progress. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Parameter is invalid. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_Success< / td > < td > Get successfully through the parameter < code > count< / code > ; < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga898e2e544106c928c6930605ff59fc43" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > void LPUART_TransferEdmaHandleIRQ < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > LPUART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > lpuartEdmaHandle< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function handles the LPUART tx complete IRQ request and invoke user callback. It is not set to static so that it can be used in user application. < / p >
< dl class = "section note" > < dt > Note< / dt > < dd > This function is used as default IRQ handler by double weak mechanism. If user's specific IRQ handler is implemented, make sure this function is invoked in the handler.< / dd > < / dl >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > base< / td > < td > LPUART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > lpuartEdmaHandle< / td > < td > LPUART handle pointer. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.5 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul class = "foot" >
< li class = "footer" > © 2016 NXP Semiconductors. All rights reserved.
< / li >
< / ul >
< / div >
< / body >
< / html >