2022-04-08 14:46:35 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.5" / >
2023-11-30 12:55:00 +00:00
< title > MCUXpresso SDK API Reference Manual: FlexIO eDMA SPI Driver< / title >
2022-04-08 14:46:35 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" >
$(document).ready(initResizable);
$(window).load(resizeHeight);
< / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "fs_logo.gif" / > < / td >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > MCUXpresso SDK API Reference Manual
2024-03-18 15:15:10 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2022-04-08 14:46:35 +00:00
< / div >
< div id = "projectbrief" > NXP Semiconductors< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > API  Reference< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
$(document).ready(function(){initNavTree('a00037.html','');});
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Data Structures< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Groups< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
2023-11-30 12:55:00 +00:00
< a href = "#typedef-members" > Typedefs< / a > < / div >
2022-04-08 14:46:35 +00:00
< div class = "headertitle" >
2023-11-30 12:55:00 +00:00
< div class = "title" > FlexIO eDMA SPI Driver< div class = "ingroups" > < a class = "el" href = "a00036.html" > FlexIO SPI Driver< / a > < / div > < / div > < / div >
2022-04-08 14:46:35 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2023-11-30 12:55:00 +00:00
< table class = "memberdecls" >
2022-04-08 14:46:35 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:a00405" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a00405" > _flexio_spi_master_edma_handle< / a > < / td > < / tr >
< tr class = "memdesc:a00405" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO SPI eDMA transfer handle, users should not touch the content of the handle. < a href = "a00037.html#a00405" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00405" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gab52f1e76d4a6fa0b24e3c044c697bdb2" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < br class = "typebreak" / >
< a class = "el" href = "a00037.html#a00405" > _flexio_spi_master_edma_handle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > < / td > < / tr >
< tr class = "memdesc:gab52f1e76d4a6fa0b24e3c044c697bdb2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > typedef for flexio_spi_master_edma_handle_t in advance. < a href = "#gab52f1e76d4a6fa0b24e3c044c697bdb2" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab52f1e76d4a6fa0b24e3c044c697bdb2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memitem:gaab3d72fce6c5312795c6a24252d42089" > < td class = "memItemLeft" align = "right" valign = "top" > typedef < br class = "typebreak" / >
2024-03-18 15:15:10 +00:00
< a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gaab3d72fce6c5312795c6a24252d42089" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Slave handle is the same with master handle. < a href = "#gaab3d72fce6c5312795c6a24252d42089" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaab3d72fce6c5312795c6a24252d42089" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7f1f81bab39b9c570d45316f74fa597c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga7f1f81bab39b9c570d45316f74fa597c" > < / a >
2024-03-18 15:15:10 +00:00
typedef void(*  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#ga7f1f81bab39b9c570d45316f74fa597c" > flexio_spi_master_edma_transfer_callback_t< / a > )(< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *handle, < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga7f1f81bab39b9c570d45316f74fa597c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO SPI master callback for finished transmit. < br / > < / td > < / tr >
< tr class = "separator:ga7f1f81bab39b9c570d45316f74fa597c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa0c3259164f82ccaaec19cc4231535eb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaa0c3259164f82ccaaec19cc4231535eb" > < / a >
2024-03-18 15:15:10 +00:00
typedef void(*  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gaa0c3259164f82ccaaec19cc4231535eb" > flexio_spi_slave_edma_transfer_callback_t< / a > )(< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *handle, < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > status, void *userData)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gaa0c3259164f82ccaaec19cc4231535eb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO SPI slave callback for finished transmit. < br / > < / td > < / tr >
< tr class = "separator:gaa0c3259164f82ccaaec19cc4231535eb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
Driver version< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga698892336c77f5773cfab44e64077495" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#ga698892336c77f5773cfab44e64077495" > FSL_FLEXIO_SPI_EDMA_DRIVER_VERSION< / a >       (< a class = "el" href = "a00272.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 3, 0))< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga698892336c77f5773cfab44e64077495" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > FlexIO SPI EDMA driver version. < a href = "#ga698892336c77f5773cfab44e64077495" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga698892336c77f5773cfab44e64077495" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2023-11-30 12:55:00 +00:00
eDMA Transactional< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga7bf5694b8575fc7fb3bd11ce9406e469" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#ga7bf5694b8575fc7fb3bd11ce9406e469" > FLEXIO_SPI_MasterTransferCreateHandleEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *handle, < a class = "el" href = "a00037.html#ga7f1f81bab39b9c570d45316f74fa597c" > flexio_spi_master_edma_transfer_callback_t< / a > callback, void *userData, < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *txHandle, < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *rxHandle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga7bf5694b8575fc7fb3bd11ce9406e469" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the FlexIO SPI master eDMA handle. < a href = "#ga7bf5694b8575fc7fb3bd11ce9406e469" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7bf5694b8575fc7fb3bd11ce9406e469" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga2ea179f209731d1696e999e4dca9d4cf" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#ga2ea179f209731d1696e999e4dca9d4cf" > FLEXIO_SPI_MasterTransferEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *handle, < a class = "el" href = "a00036.html#gac381494803bf8b1c2dd9be82bae1f849" > flexio_spi_transfer_t< / a > *xfer)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga2ea179f209731d1696e999e4dca9d4cf" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Performs a non-blocking FlexIO SPI transfer using eDMA. < a href = "#ga2ea179f209731d1696e999e4dca9d4cf" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2ea179f209731d1696e999e4dca9d4cf" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga133c0dd391dacbf2ec309739184e0199" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#ga133c0dd391dacbf2ec309739184e0199" > FLEXIO_SPI_MasterTransferAbortEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *handle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga133c0dd391dacbf2ec309739184e0199" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts a FlexIO SPI transfer using eDMA. < a href = "#ga133c0dd391dacbf2ec309739184e0199" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga133c0dd391dacbf2ec309739184e0199" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gab80661e87d2497e61baf360e6e1a37aa" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gab80661e87d2497e61baf360e6e1a37aa" > FLEXIO_SPI_MasterTransferGetCountEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *handle, size_t *count)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gab80661e87d2497e61baf360e6e1a37aa" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the number of bytes transferred so far using FlexIO SPI master eDMA. < a href = "#gab80661e87d2497e61baf360e6e1a37aa" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab80661e87d2497e61baf360e6e1a37aa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga49640cf99ff3d2c28594a2051b5ac2fe" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#ga49640cf99ff3d2c28594a2051b5ac2fe" > FLEXIO_SPI_SlaveTransferCreateHandleEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *handle, < a class = "el" href = "a00037.html#gaa0c3259164f82ccaaec19cc4231535eb" > flexio_spi_slave_edma_transfer_callback_t< / a > callback, void *userData, < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *txHandle, < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *rxHandle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:ga49640cf99ff3d2c28594a2051b5ac2fe" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the FlexIO SPI slave eDMA handle. < a href = "#ga49640cf99ff3d2c28594a2051b5ac2fe" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga49640cf99ff3d2c28594a2051b5ac2fe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gae3a4068b19f6a816b7efff0927577e92" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gae3a4068b19f6a816b7efff0927577e92" > FLEXIO_SPI_SlaveTransferEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *handle, < a class = "el" href = "a00036.html#gac381494803bf8b1c2dd9be82bae1f849" > flexio_spi_transfer_t< / a > *xfer)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gae3a4068b19f6a816b7efff0927577e92" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Performs a non-blocking FlexIO SPI transfer using eDMA. < a href = "#gae3a4068b19f6a816b7efff0927577e92" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae3a4068b19f6a816b7efff0927577e92" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gaa0ffb68398581c738557ca811e603af3" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gaa0ffb68398581c738557ca811e603af3" > FLEXIO_SPI_SlaveTransferAbortEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *handle)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gaa0ffb68398581c738557ca811e603af3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Aborts a FlexIO SPI transfer using eDMA. < a href = "#gaa0ffb68398581c738557ca811e603af3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa0ffb68398581c738557ca811e603af3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:gaee875d22a1d4b4aef53615e592f0ed7b" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#gaee875d22a1d4b4aef53615e592f0ed7b" > FLEXIO_SPI_SlaveTransferGetCountEDMA< / a > (< a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *base, < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *handle, size_t *count)< / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr class = "memdesc:gaee875d22a1d4b4aef53615e592f0ed7b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the number of bytes transferred so far using FlexIO SPI slave eDMA. < a href = "#gaee875d22a1d4b4aef53615e592f0ed7b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaee875d22a1d4b4aef53615e592f0ed7b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-03-18 15:15:10 +00:00
< a name = "a00405" id = "a00405" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > struct _flexio_spi_master_edma_handle< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< div class = "textblock" > < / div > < table class = "memberdecls" >
2023-11-30 12:55:00 +00:00
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:a7b8e9764d5251b6802223f1a06825880" > < td class = "memItemLeft" align = "right" valign = "top" > size_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a7b8e9764d5251b6802223f1a06825880" > transferSize< / a > < / td > < / tr >
< tr class = "memdesc:a7b8e9764d5251b6802223f1a06825880" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Total bytes to be transferred. < a href = "#a7b8e9764d5251b6802223f1a06825880" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a7b8e9764d5251b6802223f1a06825880" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0031d44f585927e4e39c6dd41104472d" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a0031d44f585927e4e39c6dd41104472d" > nbytes< / a > < / td > < / tr >
< tr class = "memdesc:a0031d44f585927e4e39c6dd41104472d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > eDMA minor byte transfer count initially configured. < a href = "#a0031d44f585927e4e39c6dd41104472d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a0031d44f585927e4e39c6dd41104472d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0d382a3798829e3cb4325ec08e6206e2" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0d382a3798829e3cb4325ec08e6206e2" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a0d382a3798829e3cb4325ec08e6206e2" > txInProgress< / a > < / td > < / tr >
< tr class = "memdesc:a0d382a3798829e3cb4325ec08e6206e2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Send transfer in progress. < br / > < / td > < / tr >
< tr class = "separator:a0d382a3798829e3cb4325ec08e6206e2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3d79cb8988bae9468c0b0bf0f2378e48" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a3d79cb8988bae9468c0b0bf0f2378e48" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a3d79cb8988bae9468c0b0bf0f2378e48" > rxInProgress< / a > < / td > < / tr >
< tr class = "memdesc:a3d79cb8988bae9468c0b0bf0f2378e48" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Receive transfer in progress. < br / > < / td > < / tr >
< tr class = "separator:a3d79cb8988bae9468c0b0bf0f2378e48" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5499d0e48b713a2ca96bacb693db731e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a5499d0e48b713a2ca96bacb693db731e" > < / a >
< a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a5499d0e48b713a2ca96bacb693db731e" > txHandle< / a > < / td > < / tr >
< tr class = "memdesc:a5499d0e48b713a2ca96bacb693db731e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > DMA handler for SPI send. < br / > < / td > < / tr >
< tr class = "separator:a5499d0e48b713a2ca96bacb693db731e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aec5c2c30925ed5b91ffe395c97d40c06" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aec5c2c30925ed5b91ffe395c97d40c06" > < / a >
< a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#aec5c2c30925ed5b91ffe395c97d40c06" > rxHandle< / a > < / td > < / tr >
< tr class = "memdesc:aec5c2c30925ed5b91ffe395c97d40c06" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > DMA handler for SPI receive. < br / > < / td > < / tr >
< tr class = "separator:aec5c2c30925ed5b91ffe395c97d40c06" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a21e39a081474ede1a531eec700bde453" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a21e39a081474ede1a531eec700bde453" > < / a >
< a class = "el" href = "a00037.html#ga7f1f81bab39b9c570d45316f74fa597c" > flexio_spi_master_edma_transfer_callback_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a21e39a081474ede1a531eec700bde453" > callback< / a > < / td > < / tr >
< tr class = "memdesc:a21e39a081474ede1a531eec700bde453" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Callback for SPI DMA transfer. < br / > < / td > < / tr >
< tr class = "separator:a21e39a081474ede1a531eec700bde453" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1f10f1ca25a1f26dcbed7b9527a1ee3c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a1f10f1ca25a1f26dcbed7b9527a1ee3c" > < / a >
void *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00037.html#a1f10f1ca25a1f26dcbed7b9527a1ee3c" > userData< / a > < / td > < / tr >
< tr class = "memdesc:a1f10f1ca25a1f26dcbed7b9527a1ee3c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > User Data for SPI DMA callback. < br / > < / td > < / tr >
< tr class = "separator:a1f10f1ca25a1f26dcbed7b9527a1ee3c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
< h4 class = "groupheader" > Field Documentation< / h4 >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a7b8e9764d5251b6802223f1a06825880" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > size_t _flexio_spi_master_edma_handle::transferSize< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a0031d44f585927e4e39c6dd41104472d" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > uint8_t _flexio_spi_master_edma_handle::nbytes< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< / div >
< / div >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "ga698892336c77f5773cfab44e64077495" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > #define FSL_FLEXIO_SPI_EDMA_DRIVER_VERSION      (< a class = "el" href = "a00272.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 3, 0))< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< h2 class = "groupheader" > Typedef Documentation< / h2 >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gab52f1e76d4a6fa0b24e3c044c697bdb2" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef struct < a class = "el" href = "a00037.html#a00405" > _flexio_spi_master_edma_handle< / a > < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "gaab3d72fce6c5312795c6a24252d42089" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > typedef < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "ga7bf5694b8575fc7fb3bd11ce9406e469" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_SPI_MasterTransferCreateHandleEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#ga7f1f81bab39b9c570d45316f74fa597c" > flexio_spi_master_edma_transfer_callback_t< / a >   < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > callback< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > userData< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > txHandle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > rxHandle< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function initializes the FlexIO SPI master eDMA handle which can be used for other FlexIO SPI master transactional APIs. For a specified FlexIO SPI instance, call this API once to get the initialized handle.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > Pointer to flexio_spi_master_edma_handle_t structure to store the transfer state. < / td > < / tr >
< tr > < td class = "paramname" > callback< / td > < td > SPI callback, NULL means no callback. < / td > < / tr >
< tr > < td class = "paramname" > userData< / td > < td > callback function parameter. < / td > < / tr >
< tr > < td class = "paramname" > txHandle< / td > < td > User requested eDMA handle for FlexIO SPI RX eDMA transfer. < / td > < / tr >
< tr > < td class = "paramname" > rxHandle< / td > < td > User requested eDMA handle for FlexIO SPI TX eDMA transfer. < / td > < / tr >
2022-04-08 14:46:35 +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 >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > kStatus_OutOfRange< / td > < td > The FlexIO SPI eDMA type/handle table out of range. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga2ea179f209731d1696e999e4dca9d4cf" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_SPI_MasterTransferEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gac381494803bf8b1c2dd9be82bae1f849" > flexio_spi_transfer_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > xfer< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< dl class = "section note" > < dt > Note< / dt > < dd > This interface returns immediately after transfer initiates. Call FLEXIO_SPI_MasterGetTransferCountEDMA to poll the transfer status and check whether the FlexIO SPI transfer is finished.< / dd > < / dl >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > Pointer to flexio_spi_master_edma_handle_t structure to store the transfer state. < / td > < / tr >
< tr > < td class = "paramname" > xfer< / td > < td > Pointer to FlexIO SPI transfer structure. < / td > < / tr >
< / 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 >
< tr > < td class = "paramname" > kStatus_FLEXIO_SPI_Busy< / td > < td > FlexIO SPI is not idle, is running another transfer. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga133c0dd391dacbf2ec309739184e0199" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > void FLEXIO_SPI_MasterTransferAbortEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +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-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > FlexIO SPI eDMA handle pointer. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "gab80661e87d2497e61baf360e6e1a37aa" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_SPI_MasterTransferGetCountEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gab52f1e76d4a6fa0b24e3c044c697bdb2" > flexio_spi_master_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > size_t *  < / td >
< td class = "paramname" > < em > count< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > FlexIO SPI eDMA handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Number of bytes transferred so far by the non-blocking transaction. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "ga49640cf99ff3d2c28594a2051b5ac2fe" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > static void FLEXIO_SPI_SlaveTransferCreateHandleEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *  < / td >
< td class = "paramname" > < em > handle< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gaa0c3259164f82ccaaec19cc4231535eb" > flexio_spi_slave_edma_transfer_callback_t< / a >   < / td >
< td class = "paramname" > < em > callback< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > userData< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > txHandle< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00022.html#ga00acb9562f35755920b20fde1bc9973e" > edma_handle_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > rxHandle< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< p > This function initializes the FlexIO SPI slave eDMA handle.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > Pointer to flexio_spi_slave_edma_handle_t structure to store the transfer state. < / td > < / tr >
< tr > < td class = "paramname" > callback< / td > < td > SPI callback, NULL means no callback. < / td > < / tr >
< tr > < td class = "paramname" > userData< / td > < td > callback function parameter. < / td > < / tr >
< tr > < td class = "paramname" > txHandle< / td > < td > User requested eDMA handle for FlexIO SPI TX eDMA transfer. < / td > < / tr >
< tr > < td class = "paramname" > rxHandle< / td > < td > User requested eDMA handle for FlexIO SPI RX eDMA transfer. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "gae3a4068b19f6a816b7efff0927577e92" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_SPI_SlaveTransferEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > handle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gac381494803bf8b1c2dd9be82bae1f849" > flexio_spi_transfer_t< / a > *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > xfer< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-11-30 12:55:00 +00:00
< dl class = "section note" > < dt > Note< / dt > < dd > This interface returns immediately after transfer initiates. Call FLEXIO_SPI_SlaveGetTransferCountEDMA to poll the transfer status and check whether the FlexIO SPI transfer is finished.< / dd > < / dl >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > Pointer to flexio_spi_slave_edma_handle_t structure to store the transfer state. < / td > < / tr >
< tr > < td class = "paramname" > xfer< / td > < td > Pointer to FlexIO SPI transfer structure. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2023-11-30 12:55:00 +00:00
< 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 >
< tr > < td class = "paramname" > kStatus_FLEXIO_SPI_Busy< / td > < td > FlexIO SPI is not idle, is running another transfer. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "gaa0ffb68398581c738557ca811e603af3" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2023-11-30 12:55:00 +00:00
< td class = "memname" > static void FLEXIO_SPI_SlaveTransferAbortEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > handle< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > Pointer to flexio_spi_slave_edma_handle_t structure to store the transfer state. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-11-30 12:55:00 +00:00
< a class = "anchor" id = "gaee875d22a1d4b4aef53615e592f0ed7b" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static < a class = "el" href = "a00272.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > FLEXIO_SPI_SlaveTransferGetCountEDMA < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00036.html#gabbf9b6da1adb43559aa1b75433cdd7d1" > FLEXIO_SPI_Type< / a > *  < / td >
2022-04-08 14:46:35 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > < a class = "el" href = "a00037.html#gaab3d72fce6c5312795c6a24252d42089" > flexio_spi_slave_edma_handle_t< / a > *  < / td >
2022-04-08 14:46:35 +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 >
2023-11-30 12:55:00 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > Pointer to FLEXIO_SPI_Type structure. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< tr > < td class = "paramname" > handle< / td > < td > FlexIO SPI eDMA handle pointer. < / td > < / tr >
< tr > < td class = "paramname" > count< / td > < td > Number of bytes transferred so far by the non-blocking transaction. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.5 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul class = "foot" >
< li class = "footer" > © 2016 NXP Semiconductors. All rights reserved.
< / li >
< / ul >
< / div >
< / body >
< / html >