2023-01-26 02:53:53 +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" / >
2024-04-12 13:21:49 +00:00
< title > MCUXpresso SDK API Reference Manual: USART DMA Driver< / title >
2023-01-26 02:53:53 +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-04-12 13:21:49 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2023-01-26 02:53:53 +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('a00063.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" >
2024-04-12 13:21:49 +00:00
< a href = "#files" > Files< / a > |
2023-01-26 02:53:53 +00:00
< a href = "#nested-classes" > Data Structures< / a > |
2024-04-12 13:21:49 +00:00
< a href = "#typedef-members" > Typedefs< / a > < / div >
2023-01-26 02:53:53 +00:00
< div class = "headertitle" >
2024-04-12 13:21:49 +00:00
< div class = "title" > USART DMA Driver< div class = "ingroups" > < a class = "el" href = "a00251.html" > USART: Universal Synchronous/Asynchronous Receiver/Transmitter Driver< / a > < / div > < / div > < / div >
2023-01-26 02:53:53 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2024-04-12 13:21:49 +00:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "files" > < / a >
Files< / h2 > < / td > < / tr >
< tr class = "memitem:a00176" > < td class = "memItemLeft" align = "right" valign = "top" > file   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00176.html" > fsl_usart_dma.h< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
2023-01-26 02:53:53 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2024-04-12 13:21:49 +00:00
< tr class = "memitem:a00435" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a00435" > _usart_dma_handle< / a > < / td > < / tr >
< tr class = "memdesc:a00435" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > UART DMA handle. < a href = "a00063.html#a00435" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00435" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +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-04-12 13:21:49 +00:00
< tr class = "memitem:ga60203b058d1ee4f2467d0c10e152ecb1" > < td class = "memItemLeft" align = "right" valign = "top" > typedef void(*  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga60203b058d1ee4f2467d0c10e152ecb1" > usart_dma_transfer_callback_t< / a > )(USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td > < / tr >
< tr class = "memdesc:ga60203b058d1ee4f2467d0c10e152ecb1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > UART transfer callback function. < a href = "#ga60203b058d1ee4f2467d0c10e152ecb1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga60203b058d1ee4f2467d0c10e152ecb1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table > < table class = "memberdecls" >
2024-04-12 13:21:49 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
Driver version< / h2 > < / td > < / tr >
< tr class = "memitem:ga4d50b0d6519186dc79dbf56a0ef36c30" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga4d50b0d6519186dc79dbf56a0ef36c30" > FSL_USART_DMA_DRIVER_VERSION< / a >       (< a class = "el" href = "a00242.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 6, 0))< / td > < / tr >
< tr class = "memdesc:ga4d50b0d6519186dc79dbf56a0ef36c30" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > USART dma driver version. < a href = "#ga4d50b0d6519186dc79dbf56a0ef36c30" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga4d50b0d6519186dc79dbf56a0ef36c30" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2024-04-12 13:21:49 +00:00
DMA transactional< / h2 > < / td > < / tr >
< tr class = "memitem:ga3108003aa0b8bd3ec34b8235041d1466" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga3108003aa0b8bd3ec34b8235041d1466" > USART_TransferCreateHandleDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, < a class = "el" href = "a00063.html#ga60203b058d1ee4f2467d0c10e152ecb1" > usart_dma_transfer_callback_t< / a > callback, void *userData, < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > *txDmaHandle, < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > *rxDmaHandle)< / td > < / tr >
< tr class = "memdesc:ga3108003aa0b8bd3ec34b8235041d1466" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the USART handle which is used in transactional functions. < a href = "#ga3108003aa0b8bd3ec34b8235041d1466" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga3108003aa0b8bd3ec34b8235041d1466" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga767c45246b3981930e391837bf627e68" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga767c45246b3981930e391837bf627e68" > USART_TransferSendDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, < a class = "el" href = "a00062.html#ga5f095da5c95e5137fd47b284217dbe74" > usart_transfer_t< / a > *xfer)< / td > < / tr >
< tr class = "memdesc:ga767c45246b3981930e391837bf627e68" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sends data using DMA. < a href = "#ga767c45246b3981930e391837bf627e68" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga767c45246b3981930e391837bf627e68" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4b68b4d54821ef43a671dabf432a48ae" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga4b68b4d54821ef43a671dabf432a48ae" > USART_TransferReceiveDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, < a class = "el" href = "a00062.html#ga5f095da5c95e5137fd47b284217dbe74" > usart_transfer_t< / a > *xfer)< / td > < / tr >
< tr class = "memdesc:ga4b68b4d54821ef43a671dabf432a48ae" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Receives data using DMA. < a href = "#ga4b68b4d54821ef43a671dabf432a48ae" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga4b68b4d54821ef43a671dabf432a48ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9e75a5b85d21c16fe3fb1c2acbecfe83" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga9e75a5b85d21c16fe3fb1c2acbecfe83" > USART_TransferAbortSendDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle)< / td > < / tr >
< tr class = "memdesc:ga9e75a5b85d21c16fe3fb1c2acbecfe83" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts the sent data using DMA. < a href = "#ga9e75a5b85d21c16fe3fb1c2acbecfe83" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9e75a5b85d21c16fe3fb1c2acbecfe83" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad31eba091fa591d44443f218c7da1492" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#gad31eba091fa591d44443f218c7da1492" > USART_TransferAbortReceiveDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle)< / td > < / tr >
< tr class = "memdesc:gad31eba091fa591d44443f218c7da1492" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts the received data using DMA. < a href = "#gad31eba091fa591d44443f218c7da1492" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad31eba091fa591d44443f218c7da1492" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga350224781deacfd5e1f95da262381858" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga350224781deacfd5e1f95da262381858" > USART_TransferGetReceiveCountDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, uint32_t *count)< / td > < / tr >
< tr class = "memdesc:ga350224781deacfd5e1f95da262381858" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the number of bytes that have been received. < a href = "#ga350224781deacfd5e1f95da262381858" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga350224781deacfd5e1f95da262381858" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga836de4ddc9a103584f47cd31c78f9277" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ga836de4ddc9a103584f47cd31c78f9277" > USART_TransferGetSendCountDMA< / a > (USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, uint32_t *count)< / td > < / tr >
< tr class = "memdesc:ga836de4ddc9a103584f47cd31c78f9277" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the number of bytes that have been sent. < a href = "#ga836de4ddc9a103584f47cd31c78f9277" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga836de4ddc9a103584f47cd31c78f9277" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-04-12 13:21:49 +00:00
< a name = "a00435" id = "a00435" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > struct _usart_dma_handle< / td >
2023-01-26 02:53:53 +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-04-12 13:21:49 +00:00
< tr class = "memitem:a7d5138c2a504c8b913f4da0cc4b8f3d0" > < td class = "memItemLeft" align = "right" valign = "top" > USART_Type *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a7d5138c2a504c8b913f4da0cc4b8f3d0" > base< / a > < / td > < / tr >
< tr class = "memdesc:a7d5138c2a504c8b913f4da0cc4b8f3d0" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > UART peripheral base address. < a href = "#a7d5138c2a504c8b913f4da0cc4b8f3d0" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a7d5138c2a504c8b913f4da0cc4b8f3d0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab0512a619f3d973c9d1757e027fc386f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00063.html#ga60203b058d1ee4f2467d0c10e152ecb1" > usart_dma_transfer_callback_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#ab0512a619f3d973c9d1757e027fc386f" > callback< / a > < / td > < / tr >
< tr class = "memdesc:ab0512a619f3d973c9d1757e027fc386f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Callback function. < a href = "#ab0512a619f3d973c9d1757e027fc386f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ab0512a619f3d973c9d1757e027fc386f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5435c5d5eaabc3fa080687d1816c88bb" > < td class = "memItemLeft" align = "right" valign = "top" > void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a5435c5d5eaabc3fa080687d1816c88bb" > userData< / a > < / td > < / tr >
< tr class = "memdesc:a5435c5d5eaabc3fa080687d1816c88bb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > UART callback function parameter. < a href = "#a5435c5d5eaabc3fa080687d1816c88bb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a5435c5d5eaabc3fa080687d1816c88bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a26f2f80f90075cbb92e62f00bae86fbd" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a26f2f80f90075cbb92e62f00bae86fbd" > rxDataSizeAll< / a > < / td > < / tr >
< tr class = "memdesc:a26f2f80f90075cbb92e62f00bae86fbd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Size of the data to receive. < a href = "#a26f2f80f90075cbb92e62f00bae86fbd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a26f2f80f90075cbb92e62f00bae86fbd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a578cf96f011e0a11670a705d35cfa837" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a578cf96f011e0a11670a705d35cfa837" > txDataSizeAll< / a > < / td > < / tr >
< tr class = "memdesc:a578cf96f011e0a11670a705d35cfa837" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Size of the data to send out. < a href = "#a578cf96f011e0a11670a705d35cfa837" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a578cf96f011e0a11670a705d35cfa837" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adac1e8d3493df7a51793aa4d538d3a26" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#adac1e8d3493df7a51793aa4d538d3a26" > txDmaHandle< / a > < / td > < / tr >
< tr class = "memdesc:adac1e8d3493df7a51793aa4d538d3a26" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The DMA TX channel used. < a href = "#adac1e8d3493df7a51793aa4d538d3a26" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:adac1e8d3493df7a51793aa4d538d3a26" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaa38e2f04ef52facaf76073692c64eee" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#aaa38e2f04ef52facaf76073692c64eee" > rxDmaHandle< / a > < / td > < / tr >
< tr class = "memdesc:aaa38e2f04ef52facaf76073692c64eee" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The DMA RX channel used. < a href = "#aaa38e2f04ef52facaf76073692c64eee" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aaa38e2f04ef52facaf76073692c64eee" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a84a43b177628b3a6efbc341570fdaf15" > < td class = "memItemLeft" align = "right" valign = "top" > volatile uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a84a43b177628b3a6efbc341570fdaf15" > txState< / a > < / td > < / tr >
< tr class = "memdesc:a84a43b177628b3a6efbc341570fdaf15" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TX transfer state. < a href = "#a84a43b177628b3a6efbc341570fdaf15" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a84a43b177628b3a6efbc341570fdaf15" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a382419fdf5e20b6ccb4d2a467ef42688" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a382419fdf5e20b6ccb4d2a467ef42688" > < / a >
volatile uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00063.html#a382419fdf5e20b6ccb4d2a467ef42688" > rxState< / a > < / td > < / tr >
< tr class = "memdesc:a382419fdf5e20b6ccb4d2a467ef42688" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > RX transfer state. < br / > < / td > < / tr >
< tr class = "separator:a382419fdf5e20b6ccb4d2a467ef42688" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< h4 class = "groupheader" > Field Documentation< / h4 >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "a7d5138c2a504c8b913f4da0cc4b8f3d0" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > USART_Type* _usart_dma_handle::base< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ab0512a619f3d973c9d1757e027fc386f" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00063.html#ga60203b058d1ee4f2467d0c10e152ecb1" > usart_dma_transfer_callback_t< / a > _usart_dma_handle::callback< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "a5435c5d5eaabc3fa080687d1816c88bb" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > void* _usart_dma_handle::userData< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "a26f2f80f90075cbb92e62f00bae86fbd" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > size_t _usart_dma_handle::rxDataSizeAll< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "a578cf96f011e0a11670a705d35cfa837" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > size_t _usart_dma_handle::txDataSizeAll< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "adac1e8d3493df7a51793aa4d538d3a26" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > * _usart_dma_handle::txDmaHandle< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "aaa38e2f04ef52facaf76073692c64eee" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > * _usart_dma_handle::rxDmaHandle< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "a84a43b177628b3a6efbc341570fdaf15" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > volatile uint8_t _usart_dma_handle::txState< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "ga4d50b0d6519186dc79dbf56a0ef36c30" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > #define FSL_USART_DMA_DRIVER_VERSION      (< a class = "el" href = "a00242.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 6, 0))< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "ga60203b058d1ee4f2467d0c10e152ecb1" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > typedef void(* usart_dma_transfer_callback_t)(USART_Type *base, < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *handle, < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "ga3108003aa0b8bd3ec34b8235041d1466" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > USART_TransferCreateHandleDMA < / td >
< td > (< / td >
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00063.html#ga60203b058d1ee4f2467d0c10e152ecb1" > usart_dma_transfer_callback_t< / a >   < / td >
< td class = "paramname" > < em > callback< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > userData< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > txDmaHandle< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00017.html#gac4a65788d7e5762d16a41a50b2cd7956" > dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > rxDmaHandle< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to usart_dma_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" > txDmaHandle< / td > < td > User-requested DMA handle for TX DMA transfer. < / td > < / tr >
< tr > < td class = "paramname" > rxDmaHandle< / td > < td > User-requested DMA handle for RX DMA transfer. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ga767c45246b3981930e391837bf627e68" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > USART_TransferSendDMA < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00062.html#ga5f095da5c95e5137fd47b284217dbe74" > usart_transfer_t< / a > *  < / td >
< td class = "paramname" > < em > xfer< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function sends data using DMA. This is a non-blocking function, which returns right away. When all data is sent, the send callback function is called.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
2023-01-26 02:53:53 +00:00
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > USART handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > xfer< / td > < td > USART DMA transfer structure. See < a class = "el" href = "a00062.html#ga5f095da5c95e5137fd47b284217dbe74" title = "USART transfer structure. " > usart_transfer_t< / a > . < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > kStatus_Success< / td > < td > if succeed, others failed. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_USART_TxBusy< / td > < td > Previous transfer on going. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Invalid argument. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ga4b68b4d54821ef43a671dabf432a48ae" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > USART_TransferReceiveDMA < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "paramkey" > < / td >
2023-01-26 02:53:53 +00:00
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00062.html#ga5f095da5c95e5137fd47b284217dbe74" > usart_transfer_t< / a > *  < / td >
< td class = "paramname" > < em > xfer< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function receives data using DMA. This is a non-blocking function, which returns right away. When all data is received, the receive callback function is called.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to usart_dma_handle_t structure. < / td > < / tr >
< tr > < td class = "paramname" > xfer< / td > < td > USART DMA transfer structure. See < a class = "el" href = "a00062.html#ga5f095da5c95e5137fd47b284217dbe74" title = "USART transfer structure. " > usart_transfer_t< / a > . < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > kStatus_Success< / td > < td > if succeed, others failed. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_USART_RxBusy< / td > < td > Previous transfer on going. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Invalid argument. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ga9e75a5b85d21c16fe3fb1c2acbecfe83" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > void USART_TransferAbortSendDMA < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function aborts send data using DMA.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to usart_dma_handle_t structure < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "gad31eba091fa591d44443f218c7da1492" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > void USART_TransferAbortReceiveDMA < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function aborts the received data using DMA.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > Pointer to usart_dma_handle_t structure < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ga350224781deacfd5e1f95da262381858" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > USART_TransferGetReceiveCountDMA < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > uint32_t *  < / td >
< td class = "paramname" > < em > count< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function gets the number of bytes that have been received.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > USART handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Receive bytes count. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2024-04-12 13:21:49 +00:00
< 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 >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ga836de4ddc9a103584f47cd31c78f9277" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > < a class = "el" href = "a00242.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > USART_TransferGetSendCountDMA < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > USART_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00063.html#a00435" > usart_dma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > uint32_t *  < / td >
< td class = "paramname" > < em > count< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function gets the number of bytes that have been sent.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > USART peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > handle< / td > < td > USART handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Sent bytes count. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2024-04-12 13:21:49 +00:00
< 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 >
2023-01-26 02:53:53 +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 >