2022-08-23 15:00:33 +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-08-31 15:30:31 +00:00
< title > MCUXpresso SDK API Reference Manual: FlexIO eDMA MCU Interface LCD Driver< / title >
2022-08-23 15:00:33 +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-15 14:23:36 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2022-08-23 15:00:33 +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('a00033.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 > |
< a href = "#define-members" > Macros< / a > |
2023-08-31 15:30:31 +00:00
< a href = "#typedef-members" > Typedefs< / a > < / div >
2022-08-23 15:00:33 +00:00
< div class = "headertitle" >
2023-08-31 15:30:31 +00:00
< div class = "title" > FlexIO eDMA MCU Interface LCD Driver< div class = "ingroups" > < a class = "el" href = "a00032.html" > FlexIO MCU Interface LCD Driver< / a > < / div > < / div > < / div >
2022-08-23 15:00:33 +00:00
< / div > <!-- header -->
< div class = "contents" >
2023-08-31 15:30:31 +00:00
< p > SDK provide eDMA transactional APIs to transfer data using eDMA, the eDMA method is similar with interrupt transactional method.
< a href = "#details" > More...< / a > < / p >
2022-08-23 15:00:33 +00:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2023-08-31 15:30:31 +00:00
< dl class = "section note" > < dt > Note< / dt > < dd > eDMA transactional functions use multiple beats method for better performance, in contrast, the blocking functions and interupt functions use single beat method. The function < a class = "el" href = "a00032.html#ga17a7674235c3924980d530d0d19d6e8c" > FLEXIO_MCULCD_ReadData< / a > , < a class = "el" href = "a00032.html#ga4af2f413701c4e9a07f05eede894954d" > FLEXIO_MCULCD_WriteData< / a > , < a class = "el" href = "a00032.html#ga50c2ea78f7380e90029006dbb6c6567b" > FLEXIO_MCULCD_GetStatusFlags< / a > , and < a class = "el" href = "a00032.html#ga8774960515b3f986997d1b2a50a00a98" > FLEXIO_MCULCD_ClearStatusFlags< / a > are only used for single beat case, so don't use these functions to work together with eDMA functions.< / dd > < / dl >
< h1 > FlexIO eDMA MCU Interface LCD Driver< / h1 >
< h2 > FLEXIO LCD send/receive using a DMA method< / h2 >
< div class = "fragment" > < div class = "line" > flexio_MCULCD_edma_handle_t handle;< / div >
< div class = "line" > < span class = "keyword" > volatile< / span > < span class = "keywordtype" > bool< / span > completeFlag = < span class = "keyword" > false< / span > ;< / div >
2024-03-15 14:23:36 +00:00
< div class = "line" > < a class = "code" href = "a00021.html#a00336" > edma_handle_t< / a > rxEdmaHandle;< / div >
< div class = "line" > < a class = "code" href = "a00021.html#a00336" > edma_handle_t< / a > txEdmaHandle;< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2024-03-15 14:23:36 +00:00
< div class = "line" > < span class = "keywordtype" > void< / span > flexioLcdCallback(< a class = "code" href = "a00032.html#a00382" > FLEXIO_MCULCD_Type< / a > *base, flexio_MCULCD_edma_handle_t *handle, < a class = "code" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, < span class = "keywordtype" > void< / span > *userData)< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > {< / div >
2024-03-15 14:23:36 +00:00
< div class = "line" > < span class = "keywordflow" > if< / span > (< a class = "code" href = "a00032.html#ggab48899087cc647f0f791ed0c459adc53a2dff5d93dfb65bc74ebfc97dd185517f" > kStatus_FLEXIO_MCULCD_Idle< / a > == status)< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > {< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > completeFlag = < span class = "keyword" > true< / span > ;< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > }< / div >
< div class = "line" > }< / div >
< div class = "line" > < / div >
< div class = "line" > < span class = "keywordtype" > void< / span > main(< span class = "keywordtype" > void< / span > )< / div >
< div class = "line" > {< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "comment" > // Create the edma Handle.< / span > < / div >
< div class = "line" > < a class = "code" href = "a00021.html#gae71842684e693908395784e8b7f7ef55" > EDMA_CreateHandle< / a > (& rxEdmaHandle, DMA0, channel);< / div >
< div class = "line" > < a class = "code" href = "a00021.html#gae71842684e693908395784e8b7f7ef55" > EDMA_CreateHandle< / a > (& txEdmaHandle, DMA0, channel);< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "comment" > // Configure the DMAMUX.< / span > < / div >
< div class = "line" > < span class = "comment" > // ...< / span > < / div >
< div class = "line" > < span class = "comment" > // rxEdmaHandle should use the last FlexIO RX shifters as DMA requst source.< / span > < / div >
< div class = "line" > < span class = "comment" > // txEdmaHandle should use the first FlexIO TX shifters as DMA requst source.< / span > < / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "comment" > // Init the FlexIO LCD driver.< / span > < / div >
< div class = "line" > < a class = "code" href = "a00032.html#gadf487d6481b434db73d3ba7c12eac135" > FLEXIO_MCULCD_Init< / a > (...);< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "comment" > // Create the transactional handle.< / span > < / div >
< div class = "line" > < a class = "code" href = "a00033.html#ga85591b49350acb3819419ce3b493cc0c" > FLEXIO_MCULCD_TransferCreateHandleEDMA< / a > (& flexioLcdDev, & handle, flexioLcdCallback, NULL, & txEdmaHandle, & rxEdmaHandle);< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > xfer.command = command2;< / div >
2024-03-15 14:23:36 +00:00
< div class = "line" > xfer.mode = < a class = "code" href = "a00032.html#gga39594217994de6f9deda26f2b3c12360a92d2d1a92d55debf0b9a8a11b0c3ebbf" > kFLEXIO_MCULCD_WriteArray< / a > ;< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > xfer.dataAddrOrSameValue = (uint32_t)dataToSend;< / div >
< div class = "line" > xfer.dataCount = < span class = "keyword" > sizeof< / span > (dataToSend);< / div >
< div class = "line" > completeFlag = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > < a class = "code" href = "a00033.html#ga3f8c95db53247d512507e9d1db5b0aae" > FLEXIO_MCULCD_TransferEDMA< / a > (& flexioLcdDev, & handle, & xfer);< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "keywordflow" > while< / span > (!completeFlag)< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > {< / div >
< div class = "line" > }< / div >
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > xfer.command = command2;< / div >
2024-03-15 14:23:36 +00:00
< div class = "line" > xfer.mode = < a class = "code" href = "a00032.html#gga39594217994de6f9deda26f2b3c12360ada670943bd6afbdfb31cc3ceb8095e96" > kFLEXIO_MCULCD_WriteSameValue< / a > ;< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > xfer.dataAddrOrSameValue = value;< / div >
< div class = "line" > xfer.dataCount = 1000;< / div >
< div class = "line" > completeFlag = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > < a class = "code" href = "a00033.html#ga3f8c95db53247d512507e9d1db5b0aae" > FLEXIO_MCULCD_TransferEDMA< / a > (& flexioLcdDev, & handle, & xfer);< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "keywordflow" > while< / span > (!completeFlag)< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > {< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > }< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > xfer.command = command3;< / div >
2024-03-15 14:23:36 +00:00
< div class = "line" > xfer.mode = < a class = "code" href = "a00032.html#gga39594217994de6f9deda26f2b3c12360a9ad8b512c6d9588dafea9c7fdf056abe" > kFLEXIO_MCULCD_ReadArray< / a > ;< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > xfer.dataAddrOrSameValue = (uint32_t)dataToReceive;< / div >
< div class = "line" > xfer.dataCount = < span class = "keyword" > sizeof< / span > (dataToReceive);< / div >
< div class = "line" > completeFlag = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > < a class = "code" href = "a00033.html#ga3f8c95db53247d512507e9d1db5b0aae" > FLEXIO_MCULCD_TransferEDMA< / a > (& flexioLcdDev, & handle, & xfer);< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > < / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > < span class = "keywordflow" > while< / span > (!completeFlag)< / div >
< div class = "line" > {< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > }< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > }< / div >
2022-08-23 15:00:33 +00:00
< / div > <!-- fragment --> < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:a00379" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a00379" > _flexio_mculcd_edma_handle< / a > < / td > < / tr >
< tr class = "memdesc:a00379" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO MCULCD eDMA transfer handle, users should not touch the content of the handle. < a href = "a00033.html#a00379" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00379" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gab31d982ac91400f71ea59496340671e4" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#gab31d982ac91400f71ea59496340671e4" > FSL_FLEXIO_MCULCD_EDMA_DRIVER_VERSION< / a >       (< a class = "el" href = "a00260.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 5))< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gab31d982ac91400f71ea59496340671e4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO MCULCD EDMA driver version. < a href = "#gab31d982ac91400f71ea59496340671e4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab31d982ac91400f71ea59496340671e4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +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-15 14:23:36 +00:00
< tr class = "memitem:ga06394ac5186488aaa4c3dbb684ef125a" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < br class = "typebreak" / >
< a class = "el" href = "a00033.html#a00379" > _flexio_mculcd_edma_handle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > < / td > < / tr >
< tr class = "memdesc:ga06394ac5186488aaa4c3dbb684ef125a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > typedef for flexio_mculcd_edma_handle_t in advance. < a href = "#ga06394ac5186488aaa4c3dbb684ef125a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga06394ac5186488aaa4c3dbb684ef125a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae50013e184e31a590a8d33392247da5b" > < td class = "memItemLeft" align = "right" valign = "top" > typedef void(*  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#gae50013e184e31a590a8d33392247da5b" > flexio_mculcd_edma_transfer_callback_t< / a > )(< a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *base, < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *handle, < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gae50013e184e31a590a8d33392247da5b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO MCULCD master callback for transfer complete. < a href = "#gae50013e184e31a590a8d33392247da5b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae50013e184e31a590a8d33392247da5b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2023-08-31 15:30:31 +00:00
eDMA Transactional< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga85591b49350acb3819419ce3b493cc0c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#ga85591b49350acb3819419ce3b493cc0c" > FLEXIO_MCULCD_TransferCreateHandleEDMA< / a > (< a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *base, < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *handle, < a class = "el" href = "a00033.html#gae50013e184e31a590a8d33392247da5b" > flexio_mculcd_edma_transfer_callback_t< / a > callback, void *userData, < a class = "el" href = "a00021.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *txDmaHandle, < a class = "el" href = "a00021.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *rxDmaHandle)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga85591b49350acb3819419ce3b493cc0c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the FLEXO MCULCD master eDMA handle. < a href = "#ga85591b49350acb3819419ce3b493cc0c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga85591b49350acb3819419ce3b493cc0c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga3f8c95db53247d512507e9d1db5b0aae" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#ga3f8c95db53247d512507e9d1db5b0aae" > FLEXIO_MCULCD_TransferEDMA< / a > (< a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *base, < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *handle, < a class = "el" href = "a00032.html#ga96f5822939534338d5b024705201a228" > flexio_mculcd_transfer_t< / a > *xfer)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga3f8c95db53247d512507e9d1db5b0aae" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Performs a non-blocking FlexIO MCULCD transfer using eDMA. < a href = "#ga3f8c95db53247d512507e9d1db5b0aae" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga3f8c95db53247d512507e9d1db5b0aae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga16e612c4513044cb01e19ec08e3719f2" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#ga16e612c4513044cb01e19ec08e3719f2" > FLEXIO_MCULCD_TransferAbortEDMA< / a > (< a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *base, < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *handle)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga16e612c4513044cb01e19ec08e3719f2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts a FlexIO MCULCD transfer using eDMA. < a href = "#ga16e612c4513044cb01e19ec08e3719f2" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga16e612c4513044cb01e19ec08e3719f2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gae15eecb7de3ccc06c1ab4a87644d8bbd" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#gae15eecb7de3ccc06c1ab4a87644d8bbd" > FLEXIO_MCULCD_TransferGetCountEDMA< / a > (< a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *base, < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *handle, size_t *count)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gae15eecb7de3ccc06c1ab4a87644d8bbd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the remaining bytes for FlexIO MCULCD eDMA transfer. < a href = "#gae15eecb7de3ccc06c1ab4a87644d8bbd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae15eecb7de3ccc06c1ab4a87644d8bbd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-03-15 14:23:36 +00:00
< a name = "a00379" id = "a00379" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > struct _flexio_mculcd_edma_handle< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< div class = "textblock" > < / div > < table class = "memberdecls" >
2022-08-23 15:00:33 +00:00
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:aa6f50147768a9d1e07312513100ddd21" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#aa6f50147768a9d1e07312513100ddd21" > base< / a > < / td > < / tr >
< tr class = "memdesc:aa6f50147768a9d1e07312513100ddd21" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Pointer to the FLEXIO_MCULCD_Type. < a href = "#aa6f50147768a9d1e07312513100ddd21" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa6f50147768a9d1e07312513100ddd21" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a29ccba377109ac14f1bdc8509401c869" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a29ccba377109ac14f1bdc8509401c869" > txShifterNum< / a > < / td > < / tr >
< tr class = "memdesc:a29ccba377109ac14f1bdc8509401c869" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Number of shifters used for TX. < a href = "#a29ccba377109ac14f1bdc8509401c869" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a29ccba377109ac14f1bdc8509401c869" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af5ab6ef58841f1b9d86f1714d289480e" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#af5ab6ef58841f1b9d86f1714d289480e" > rxShifterNum< / a > < / td > < / tr >
< tr class = "memdesc:af5ab6ef58841f1b9d86f1714d289480e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Number of shifters used for RX. < a href = "#af5ab6ef58841f1b9d86f1714d289480e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:af5ab6ef58841f1b9d86f1714d289480e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a71d0a236888398014d58fefe3b494441" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a71d0a236888398014d58fefe3b494441" > minorLoopBytes< / a > < / td > < / tr >
< tr class = "memdesc:a71d0a236888398014d58fefe3b494441" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > eDMA transfer minor loop bytes. < a href = "#a71d0a236888398014d58fefe3b494441" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a71d0a236888398014d58fefe3b494441" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a75f13aad670f4a588aa471b9afb6b07f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00021.html#ga567f4aba444f1fb55ac796ea3c12b1f6" > edma_modulo_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a75f13aad670f4a588aa471b9afb6b07f" > txEdmaModulo< / a > < / td > < / tr >
< tr class = "memdesc:a75f13aad670f4a588aa471b9afb6b07f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Modulo value for the FlexIO shifter buffer access. < a href = "#a75f13aad670f4a588aa471b9afb6b07f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a75f13aad670f4a588aa471b9afb6b07f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af1ded325d630d26acdf5981f7162a659" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00021.html#ga567f4aba444f1fb55ac796ea3c12b1f6" > edma_modulo_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#af1ded325d630d26acdf5981f7162a659" > rxEdmaModulo< / a > < / td > < / tr >
< tr class = "memdesc:af1ded325d630d26acdf5981f7162a659" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Modulo value for the FlexIO shifter buffer access. < a href = "#af1ded325d630d26acdf5981f7162a659" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:af1ded325d630d26acdf5981f7162a659" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae44362c374931983ad9713f7c1aa90d3" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#ae44362c374931983ad9713f7c1aa90d3" > dataAddrOrSameValue< / a > < / td > < / tr >
< tr class = "memdesc:ae44362c374931983ad9713f7c1aa90d3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > When sending the same value for many times, this is the value to send. < a href = "#ae44362c374931983ad9713f7c1aa90d3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ae44362c374931983ad9713f7c1aa90d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa4abb1dbb1f7d25681698c7d545de27a" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#aa4abb1dbb1f7d25681698c7d545de27a" > dataCount< / a > < / td > < / tr >
< tr class = "memdesc:aa4abb1dbb1f7d25681698c7d545de27a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Total count to be transferred. < a href = "#aa4abb1dbb1f7d25681698c7d545de27a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa4abb1dbb1f7d25681698c7d545de27a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac9b37c6ae9872884366b489ede6512cd" > < td class = "memItemLeft" align = "right" valign = "top" > volatile size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#ac9b37c6ae9872884366b489ede6512cd" > remainingCount< / a > < / td > < / tr >
< tr class = "memdesc:ac9b37c6ae9872884366b489ede6512cd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Remaining count still not transfered. < a href = "#ac9b37c6ae9872884366b489ede6512cd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ac9b37c6ae9872884366b489ede6512cd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a07394b039f6069b9f527466d9b61ef80" > < td class = "memItemLeft" align = "right" valign = "top" > volatile uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a07394b039f6069b9f527466d9b61ef80" > state< / a > < / td > < / tr >
< tr class = "memdesc:a07394b039f6069b9f527466d9b61ef80" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO MCULCD driver internal state. < a href = "#a07394b039f6069b9f527466d9b61ef80" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a07394b039f6069b9f527466d9b61ef80" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a543ee9aaa7b71860ca42692cf3e196af" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a543ee9aaa7b71860ca42692cf3e196af" > < / a >
< a class = "el" href = "a00021.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a543ee9aaa7b71860ca42692cf3e196af" > txDmaHandle< / a > < / td > < / tr >
< tr class = "memdesc:a543ee9aaa7b71860ca42692cf3e196af" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > DMA handle for MCULCD TX. < br / > < / td > < / tr >
< tr class = "separator:a543ee9aaa7b71860ca42692cf3e196af" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a35d7693e3ddfdcc166131c1b90c10b5a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a35d7693e3ddfdcc166131c1b90c10b5a" > < / a >
< a class = "el" href = "a00021.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a35d7693e3ddfdcc166131c1b90c10b5a" > rxDmaHandle< / a > < / td > < / tr >
< tr class = "memdesc:a35d7693e3ddfdcc166131c1b90c10b5a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > DMA handle for MCULCD RX. < br / > < / td > < / tr >
< tr class = "separator:a35d7693e3ddfdcc166131c1b90c10b5a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acbb4a12571517c418fac275011a0ce99" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "acbb4a12571517c418fac275011a0ce99" > < / a >
< a class = "el" href = "a00033.html#gae50013e184e31a590a8d33392247da5b" > flexio_mculcd_edma_transfer_callback_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#acbb4a12571517c418fac275011a0ce99" > completionCallback< / a > < / td > < / tr >
< tr class = "memdesc:acbb4a12571517c418fac275011a0ce99" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Callback for MCULCD DMA transfer. < br / > < / td > < / tr >
< tr class = "separator:acbb4a12571517c418fac275011a0ce99" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0ffcd66ea86bbbac29829c8d815d8998" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0ffcd66ea86bbbac29829c8d815d8998" > < / a >
void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00033.html#a0ffcd66ea86bbbac29829c8d815d8998" > userData< / a > < / td > < / tr >
< tr class = "memdesc:a0ffcd66ea86bbbac29829c8d815d8998" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > User Data for MCULCD DMA callback. < br / > < / td > < / tr >
< tr class = "separator:a0ffcd66ea86bbbac29829c8d815d8998" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< h4 class = "groupheader" > Field Documentation< / h4 >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "aa6f50147768a9d1e07312513100ddd21" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > * _flexio_mculcd_edma_handle::base< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "a29ccba377109ac14f1bdc8509401c869" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "memname" >
2022-08-23 15:00:33 +00:00
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > uint8_t _flexio_mculcd_edma_handle::txShifterNum< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "af5ab6ef58841f1b9d86f1714d289480e" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > uint8_t _flexio_mculcd_edma_handle::rxShifterNum< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "a71d0a236888398014d58fefe3b494441" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > uint32_t _flexio_mculcd_edma_handle::minorLoopBytes< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "a75f13aad670f4a588aa471b9afb6b07f" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00021.html#ga567f4aba444f1fb55ac796ea3c12b1f6" > edma_modulo_t< / a > _flexio_mculcd_edma_handle::txEdmaModulo< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "af1ded325d630d26acdf5981f7162a659" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00021.html#ga567f4aba444f1fb55ac796ea3c12b1f6" > edma_modulo_t< / a > _flexio_mculcd_edma_handle::rxEdmaModulo< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ae44362c374931983ad9713f7c1aa90d3" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > uint32_t _flexio_mculcd_edma_handle::dataAddrOrSameValue< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< p > When writing or reading array, this is the address of the data array. < / p >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "aa4abb1dbb1f7d25681698c7d545de27a" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > size_t _flexio_mculcd_edma_handle::dataCount< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ac9b37c6ae9872884366b489ede6512cd" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > volatile size_t _flexio_mculcd_edma_handle::remainingCount< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "a07394b039f6069b9f527466d9b61ef80" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > volatile uint32_t _flexio_mculcd_edma_handle::state< / td >
2022-08-23 15:00:33 +00:00
< / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div >
< / div >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "gab31d982ac91400f71ea59496340671e4" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2022-08-23 15:00:33 +00:00
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > #define FSL_FLEXIO_MCULCD_EDMA_DRIVER_VERSION      (< a class = "el" href = "a00260.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 5))< / td >
2022-08-23 15:00:33 +00:00
< / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Typedef Documentation< / h2 >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga06394ac5186488aaa4c3dbb684ef125a" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef struct < a class = "el" href = "a00033.html#a00379" > _flexio_mculcd_edma_handle< / a > < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gae50013e184e31a590a8d33392247da5b" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2022-08-23 15:00:33 +00:00
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > typedef void(* flexio_mculcd_edma_transfer_callback_t)(< a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *base, < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *handle, < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< p > When transfer finished, the callback function is called and returns the < code > status< / code > as kStatus_FLEXIO_MCULCD_Idle. < / p >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "ga85591b49350acb3819419ce3b493cc0c" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_MCULCD_TransferCreateHandleEDMA < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > < a class = "el" href = "a00033.html#gae50013e184e31a590a8d33392247da5b" > flexio_mculcd_edma_transfer_callback_t< / a >   < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > callback< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > userData< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00021.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > txDmaHandle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00021.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > rxDmaHandle< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< p > This function initializes the FLEXO MCULCD master eDMA handle which can be used for other FLEXO MCULCD transactional APIs. For a specified FLEXO MCULCD instance, call this API once to get the initialized handle.< / p >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_MCULCD_Type structure. < / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > handle< / td > < td > Pointer to flexio_mculcd_edma_handle_t structure to store the transfer state. < / td > < / tr >
< tr > < td class = "paramname" > callback< / td > < td > MCULCD transfer complete callback, NULL means no callback. < / td > < / tr >
< tr > < td class = "paramname" > userData< / td > < td > callback function parameter. < / td > < / tr >
< tr > < td class = "paramname" > txDmaHandle< / td > < td > User requested eDMA handle for FlexIO MCULCD eDMA TX, the DMA request source of this handle should be the first of TX shifters. < / td > < / tr >
< tr > < td class = "paramname" > rxDmaHandle< / td > < td > User requested eDMA handle for FlexIO MCULCD eDMA RX, the DMA request source of this handle should be the last of RX shifters. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > kStatus_Success< / td > < td > Successfully create the handle. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga3f8c95db53247d512507e9d1db5b0aae" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_MCULCD_TransferEDMA < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00032.html#ga96f5822939534338d5b024705201a228" > flexio_mculcd_transfer_t< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > xfer< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< p > This function returns immediately after transfer initiates. To check whether the transfer is completed, user could:< / p >
< ol type = "1" >
< li > Use the transfer completed callback;< / li >
< li > Polling function FLEXIO_MCULCD_GetTransferCountEDMA< / li >
< / ol >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > pointer to FLEXIO_MCULCD_Type structure. < / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > handle< / td > < td > pointer to flexio_mculcd_edma_handle_t structure to store the transfer state. < / td > < / tr >
< tr > < td class = "paramname" > xfer< / td > < td > Pointer to FlexIO MCULCD transfer structure. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > kStatus_Success< / td > < td > Successfully start a transfer. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_InvalidArgument< / td > < td > Input argument is invalid. < / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > kStatus_FLEXIO_MCULCD_Busy< / td > < td > FlexIO MCULCD is not idle, it is running another transfer. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga16e612c4513044cb01e19ec08e3719f2" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > void FLEXIO_MCULCD_TransferAbortEDMA < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > handle< / em >   < / td >
< / 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-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > pointer to FLEXIO_MCULCD_Type structure. < / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > handle< / td > < td > FlexIO MCULCD eDMA handle pointer. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gae15eecb7de3ccc06c1ab4a87644d8bbd" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_MCULCD_TransferGetCountEDMA < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00032.html#gae99c4cc0a700e39ff9431b0b4103cc14" > FLEXIO_MCULCD_Type< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00033.html#ga06394ac5186488aaa4c3dbb684ef125a" > flexio_mculcd_edma_handle_t< / a > *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t *  < / td >
< td class = "paramname" > < em > count< / em >   < / td >
< / 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-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > pointer to FLEXIO_MCULCD_Type structure. < / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > handle< / td > < td > FlexIO MCULCD eDMA handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Number of count transferred so far by the eDMA transaction. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > kStatus_Success< / td > < td > Get the transferred count Successfully. < / td > < / tr >
< tr > < td class = "paramname" > kStatus_NoTransferInProgress< / td > < td > No transfer in process. < / td > < / tr >
2022-08-23 15:00:33 +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 >