You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
232 lines
34 KiB
HTML
232 lines
34 KiB
HTML
4 years ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>SAME54P20A Test Project: /storage/Shared/Documents/Projects/ePenguin/ePenguin-Software-Framework/arch/arm/SAME54/SAME54A/mcu/inc/instance/sercom2.h Source File</title>
|
||
|
<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="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<link href="doxygen.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="projectalign" style="padding-left: 0.5em;">
|
||
|
<div id="projectname">SAME54P20A Test Project
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.20 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
$(function() {
|
||
|
initMenu('',true,false,'search.php','Search');
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */</script>
|
||
|
<div id="main-nav"></div>
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</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 id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="dir_ea9599923402ca8ab47fc3e495999dea.html">arch</a></li><li class="navelem"><a class="el" href="dir_9e929c73feaf15d3695ce4c76b483065.html">arm</a></li><li class="navelem"><a class="el" href="dir_58955c0f35a9c3d48181d2be53994c7b.html">SAME54</a></li><li class="navelem"><a class="el" href="dir_09e97e512ca7d4e6cd359f1c5497eeba.html">SAME54A</a></li><li class="navelem"><a class="el" href="dir_4b38d63e5c584a4d6c9001c789e1829f.html">mcu</a></li><li class="navelem"><a class="el" href="dir_d4fc57b996dc082ef023092a5b7d90fc.html">inc</a></li><li class="navelem"><a class="el" href="dir_92b117bae75cf16a05ca7611db29e9c7.html">instance</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">sercom2.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="sercom2_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
|
||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#ifndef _SAME54_SERCOM2_INSTANCE_</span></div>
|
||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#define _SAME54_SERCOM2_INSTANCE_</span></div>
|
||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">/* ========== Register definition for SERCOM2 peripheral ========== */</span></div>
|
||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))</span></div>
|
||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_CTRLA (0x41012000) </span></div>
|
||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_CTRLB (0x41012004) </span></div>
|
||
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_CTRLC (0x41012008) </span></div>
|
||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_BAUD (0x4101200C) </span></div>
|
||
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_INTENCLR (0x41012014) </span></div>
|
||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_INTENSET (0x41012016) </span></div>
|
||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_INTFLAG (0x41012018) </span></div>
|
||
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_STATUS (0x4101201A) </span></div>
|
||
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_SYNCBUSY (0x4101201C) </span></div>
|
||
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_ADDR (0x41012024) </span></div>
|
||
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_DATA (0x41012028) </span></div>
|
||
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#define REG_SERCOM2_I2CM_DBGCTRL (0x41012030) </span></div>
|
||
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_CTRLA (0x41012000) </span></div>
|
||
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_CTRLB (0x41012004) </span></div>
|
||
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_CTRLC (0x41012008) </span></div>
|
||
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_INTENCLR (0x41012014) </span></div>
|
||
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_INTENSET (0x41012016) </span></div>
|
||
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_INTFLAG (0x41012018) </span></div>
|
||
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_STATUS (0x4101201A) </span></div>
|
||
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_SYNCBUSY (0x4101201C) </span></div>
|
||
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_LENGTH (0x41012022) </span></div>
|
||
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_ADDR (0x41012024) </span></div>
|
||
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#define REG_SERCOM2_I2CS_DATA (0x41012028) </span></div>
|
||
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#define REG_SERCOM2_SPI_CTRLA (0x41012000) </span></div>
|
||
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#define REG_SERCOM2_SPI_CTRLB (0x41012004) </span></div>
|
||
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#define REG_SERCOM2_SPI_CTRLC (0x41012008) </span></div>
|
||
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#define REG_SERCOM2_SPI_BAUD (0x4101200C) </span></div>
|
||
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#define REG_SERCOM2_SPI_INTENCLR (0x41012014) </span></div>
|
||
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#define REG_SERCOM2_SPI_INTENSET (0x41012016) </span></div>
|
||
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#define REG_SERCOM2_SPI_INTFLAG (0x41012018) </span></div>
|
||
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#define REG_SERCOM2_SPI_STATUS (0x4101201A) </span></div>
|
||
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#define REG_SERCOM2_SPI_SYNCBUSY (0x4101201C) </span></div>
|
||
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor">#define REG_SERCOM2_SPI_LENGTH (0x41012022) </span></div>
|
||
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#define REG_SERCOM2_SPI_ADDR (0x41012024) </span></div>
|
||
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#define REG_SERCOM2_SPI_DATA (0x41012028) </span></div>
|
||
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#define REG_SERCOM2_SPI_DBGCTRL (0x41012030) </span></div>
|
||
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#define REG_SERCOM2_USART_CTRLA (0x41012000) </span></div>
|
||
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#define REG_SERCOM2_USART_CTRLB (0x41012004) </span></div>
|
||
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#define REG_SERCOM2_USART_CTRLC (0x41012008) </span></div>
|
||
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#define REG_SERCOM2_USART_BAUD (0x4101200C) </span></div>
|
||
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor">#define REG_SERCOM2_USART_RXPL (0x4101200E) </span></div>
|
||
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#define REG_SERCOM2_USART_INTENCLR (0x41012014) </span></div>
|
||
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#define REG_SERCOM2_USART_INTENSET (0x41012016) </span></div>
|
||
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#define REG_SERCOM2_USART_INTFLAG (0x41012018) </span></div>
|
||
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#define REG_SERCOM2_USART_STATUS (0x4101201A) </span></div>
|
||
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#define REG_SERCOM2_USART_SYNCBUSY (0x4101201C) </span></div>
|
||
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#define REG_SERCOM2_USART_RXERRCNT (0x41012020) </span></div>
|
||
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor">#define REG_SERCOM2_USART_LENGTH (0x41012022) </span></div>
|
||
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#define REG_SERCOM2_USART_DATA (0x41012028) </span></div>
|
||
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor">#define REG_SERCOM2_USART_DBGCTRL (0x41012030) </span></div>
|
||
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor">#else</span></div>
|
||
|
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a1bdbfff5e0becd3a72b10c84ac074767"> 86</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_CTRLA (*(RwReg *)0x41012000UL) </span></div>
|
||
|
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a1fb8870a044a6bc2fac420a0995795bd"> 87</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_CTRLB (*(RwReg *)0x41012004UL) </span></div>
|
||
|
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a019978b93fe935f65d8ead85d6793865"> 88</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_CTRLC (*(RwReg *)0x41012008UL) </span></div>
|
||
|
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ad80683a1bb10d49af39e619d3b231981"> 89</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_BAUD (*(RwReg *)0x4101200CUL) </span></div>
|
||
|
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="sercom2_8h.html#aca960f2e5fde2013c5c0a8218b9c4db9"> 90</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_INTENCLR (*(RwReg8 *)0x41012014UL) </span></div>
|
||
|
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="sercom2_8h.html#afe6542d2e7cec137fcde4a74b41c3431"> 91</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_INTENSET (*(RwReg8 *)0x41012016UL) </span></div>
|
||
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="sercom2_8h.html#afd3cbc9a2eac10699638ab8dda071442"> 92</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_INTFLAG (*(RwReg8 *)0x41012018UL) </span></div>
|
||
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="sercom2_8h.html#aeb1c18d17cc71e64731571cd8863a2e8"> 93</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_STATUS (*(RwReg16*)0x4101201AUL) </span></div>
|
||
|
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="sercom2_8h.html#acf9bef42ed884cefe081e6a979ff9e8e"> 94</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_SYNCBUSY (*(RoReg *)0x4101201CUL) </span></div>
|
||
|
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a7c2c36c17a267d11848859c76ec59f82"> 95</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_ADDR (*(RwReg *)0x41012024UL) </span></div>
|
||
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a133ab118251ddec4411bdc4f1ae6515e"> 96</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_DATA (*(RwReg *)0x41012028UL) </span></div>
|
||
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a002c10f256905a6d82755b2ca374c2b5"> 97</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CM_DBGCTRL (*(RwReg8 *)0x41012030UL) </span></div>
|
||
|
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a58dd8f13a98c1de24c6fb6682f581d13"> 98</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_CTRLA (*(RwReg *)0x41012000UL) </span></div>
|
||
|
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a330c20ae7a6e6c03b23f59ecd6540af6"> 99</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_CTRLB (*(RwReg *)0x41012004UL) </span></div>
|
||
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a3379114376f32cadb5d7cd789735860c"> 100</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_CTRLC (*(RwReg *)0x41012008UL) </span></div>
|
||
|
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="sercom2_8h.html#afaeb244a4a48439ec7b618699581e7b2"> 101</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_INTENCLR (*(RwReg8 *)0x41012014UL) </span></div>
|
||
|
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="sercom2_8h.html#aff78471dab1f1e15aa4bcb62d19c4f7a"> 102</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_INTENSET (*(RwReg8 *)0x41012016UL) </span></div>
|
||
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ae388ee3cdc7923edb21608a408ddf15f"> 103</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_INTFLAG (*(RwReg8 *)0x41012018UL) </span></div>
|
||
|
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ad5575ef78b98ae948a590af8430594b5"> 104</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_STATUS (*(RwReg16*)0x4101201AUL) </span></div>
|
||
|
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a984d24c309d19f905b92581a3baaa2a4"> 105</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_SYNCBUSY (*(RoReg *)0x4101201CUL) </span></div>
|
||
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a8c40548f90cb9c735e37805c338746ef"> 106</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_LENGTH (*(RwReg16*)0x41012022UL) </span></div>
|
||
|
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a09582437711f7e26dea1fa8fd03b395b"> 107</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_ADDR (*(RwReg *)0x41012024UL) </span></div>
|
||
|
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ac15eaa036a0a717873579ccf91d59878"> 108</a></span> <span class="preprocessor">#define REG_SERCOM2_I2CS_DATA (*(RwReg *)0x41012028UL) </span></div>
|
||
|
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a1e942e7cf8e389a04c50a4960a8df287"> 109</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_CTRLA (*(RwReg *)0x41012000UL) </span></div>
|
||
|
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a1b143b9beb08b9e1b754cf842d1dd5ce"> 110</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_CTRLB (*(RwReg *)0x41012004UL) </span></div>
|
||
|
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a363402f17d5f52bbc4c821fb43f1095f"> 111</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_CTRLC (*(RwReg *)0x41012008UL) </span></div>
|
||
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a3426c780c763d9422efb2f74a7b00bc0"> 112</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_BAUD (*(RwReg8 *)0x4101200CUL) </span></div>
|
||
|
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ae89022e1704c1504870c5642ff1e89ed"> 113</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_INTENCLR (*(RwReg8 *)0x41012014UL) </span></div>
|
||
|
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a29069a731bed4bd8c69c3560a2669bff"> 114</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_INTENSET (*(RwReg8 *)0x41012016UL) </span></div>
|
||
|
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="sercom2_8h.html#af6742b430df71a87862d7663fa7a000c"> 115</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_INTFLAG (*(RwReg8 *)0x41012018UL) </span></div>
|
||
|
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a653c2a9299a932b5e09ed56f756948fb"> 116</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_STATUS (*(RwReg16*)0x4101201AUL) </span></div>
|
||
|
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a6332acea31b32ce2122591c47a53f594"> 117</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_SYNCBUSY (*(RoReg *)0x4101201CUL) </span></div>
|
||
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="sercom2_8h.html#af9bb6ae6663b1855b037c1b72bf31c88"> 118</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_LENGTH (*(RwReg16*)0x41012022UL) </span></div>
|
||
|
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a9449825d316508a23b8738b300370836"> 119</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_ADDR (*(RwReg *)0x41012024UL) </span></div>
|
||
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="sercom2_8h.html#aa384eb924312f2ce13405a54449ac00d"> 120</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_DATA (*(RwReg *)0x41012028UL) </span></div>
|
||
|
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ae63f865dd0b65bb9289e2a8a58aaf260"> 121</a></span> <span class="preprocessor">#define REG_SERCOM2_SPI_DBGCTRL (*(RwReg8 *)0x41012030UL) </span></div>
|
||
|
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ab0aa2ee35f818a58e56af689ae1aec7b"> 122</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_CTRLA (*(RwReg *)0x41012000UL) </span></div>
|
||
|
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a74b4e718403f95c395f4d551acf8be8e"> 123</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_CTRLB (*(RwReg *)0x41012004UL) </span></div>
|
||
|
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ae9fb8d8e2c0ea6eb4acead045714fbc9"> 124</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_CTRLC (*(RwReg *)0x41012008UL) </span></div>
|
||
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a6111994c5c0db79ed21ec1fb6b05b00a"> 125</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_BAUD (*(RwReg16*)0x4101200CUL) </span></div>
|
||
|
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ab7de7ac41c8abd3f66fe0633c519cf42"> 126</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_RXPL (*(RwReg8 *)0x4101200EUL) </span></div>
|
||
|
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a8e9e4ebaf436768bfc17327e7cca8c02"> 127</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_INTENCLR (*(RwReg8 *)0x41012014UL) </span></div>
|
||
|
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="sercom2_8h.html#afbadea0875faf4e792d5b826864b4de7"> 128</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_INTENSET (*(RwReg8 *)0x41012016UL) </span></div>
|
||
|
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a97cb95bddfea29ccda96b7926ba8d011"> 129</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_INTFLAG (*(RwReg8 *)0x41012018UL) </span></div>
|
||
|
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ad9e096efc5f04ee38ce9ed91f0e920fb"> 130</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_STATUS (*(RwReg16*)0x4101201AUL) </span></div>
|
||
|
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="sercom2_8h.html#adebf269bef116a4c29f48e05a6705413"> 131</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_SYNCBUSY (*(RoReg *)0x4101201CUL) </span></div>
|
||
|
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a49407132eedfde95d61e23afbbd6d2e2"> 132</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_RXERRCNT (*(RoReg8 *)0x41012020UL) </span></div>
|
||
|
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="sercom2_8h.html#a08faad084af839b3738e3bd9a07ba59b"> 133</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_LENGTH (*(RwReg16*)0x41012022UL) </span></div>
|
||
|
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ad95b8b6f8df0c18566cfcc15e66286d5"> 134</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_DATA (*(RwReg *)0x41012028UL) </span></div>
|
||
|
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="sercom2_8h.html#ab1e83ea9fa054613a63b46e910d2ef48"> 135</a></span> <span class="preprocessor">#define REG_SERCOM2_USART_DBGCTRL (*(RwReg8 *)0x41012030UL) </span></div>
|
||
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor">#endif </span><span class="comment">/* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */</span><span class="preprocessor"></span></div>
|
||
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
||
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment">/* ========== Instance parameters for SERCOM2 peripheral ========== */</span></div>
|
||
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor">#define SERCOM2_CLK_REDUCTION 1 // Reduce clock options to pin 1 for SPI and USART</span></div>
|
||
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor">#define SERCOM2_DLY_COMPENSATION 1 // Compensates for a fast DLY50 element. Assuming 20ns</span></div>
|
||
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor">#define SERCOM2_DMA 1 // DMA support implemented?</span></div>
|
||
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor">#define SERCOM2_DMAC_ID_RX 8 // Index of DMA RX trigger</span></div>
|
||
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#define SERCOM2_DMAC_ID_TX 9 // Index of DMA TX trigger</span></div>
|
||
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor">#define SERCOM2_FIFO_DEPTH_POWER 1 // 2^FIFO_DEPTH_POWER gives rx FIFO depth.</span></div>
|
||
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="preprocessor">#define SERCOM2_GCLK_ID_CORE 23 </span></div>
|
||
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor">#define SERCOM2_GCLK_ID_SLOW 3 </span></div>
|
||
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="preprocessor">#define SERCOM2_INT_MSB 6 </span></div>
|
||
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor">#define SERCOM2_I2CM 1 // I2C Master mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="preprocessor">#define SERCOM2_I2CS 1 // I2C Slave mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="preprocessor">#define SERCOM2_I2CS_AUTO_ACK 1 // I2C slave automatic acknowledge implemented?</span></div>
|
||
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="preprocessor">#define SERCOM2_I2CS_GROUP_CMD 1 // I2C slave group command implemented?</span></div>
|
||
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="preprocessor">#define SERCOM2_I2CS_SDASETUP_CNT_SIZE 8 // I2CS sda setup count size</span></div>
|
||
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="preprocessor">#define SERCOM2_I2CS_SDASETUP_SIZE 4 // I2CS sda setup size</span></div>
|
||
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor">#define SERCOM2_I2CS_SUDAT 1 // I2C slave SDA setup implemented?</span></div>
|
||
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="preprocessor">#define SERCOM2_I2C_FASTMP 1 // I2C fast mode plus implemented?</span></div>
|
||
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor">#define SERCOM2_I2C_HSMODE 1 // USART mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="preprocessor">#define SERCOM2_I2C_SCLSM_MODE 1 // I2C SCL clock stretch mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="preprocessor">#define SERCOM2_I2C_SMB_TIMEOUTS 1 // I2C SMBus timeouts implemented?</span></div>
|
||
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor">#define SERCOM2_I2C_TENBIT_ADR 1 // I2C ten bit enabled?</span></div>
|
||
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="preprocessor">#define SERCOM2_PMSB 3 </span></div>
|
||
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor">#define SERCOM2_RETENTION_SUPPORT 0 // Retention supported?</span></div>
|
||
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor">#define SERCOM2_SE_CNT 1 // SE counter included?</span></div>
|
||
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="preprocessor">#define SERCOM2_SPI 1 // SPI mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="preprocessor">#define SERCOM2_SPI_HW_SS_CTRL 1 // Master _SS hardware control implemented?</span></div>
|
||
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="preprocessor">#define SERCOM2_SPI_ICSPACE_EXT 1 // SPI inter character space implemented?</span></div>
|
||
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor">#define SERCOM2_SPI_OZMO 0 // OZMO features implemented?</span></div>
|
||
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor">#define SERCOM2_SPI_WAKE_ON_SSL 1 // _SS low detect implemented?</span></div>
|
||
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="preprocessor">#define SERCOM2_TTBIT_EXTENSION 1 // 32-bit extension implemented?</span></div>
|
||
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor">#define SERCOM2_USART 1 // USART mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor">#define SERCOM2_USART_AUTOBAUD 1 // USART autobaud implemented?</span></div>
|
||
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor">#define SERCOM2_USART_COLDET 1 // USART collision detection implemented?</span></div>
|
||
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="preprocessor">#define SERCOM2_USART_FLOW_CTRL 1 // USART flow control implemented?</span></div>
|
||
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor">#define SERCOM2_USART_FRAC_BAUD 1 // USART fractional BAUD implemented?</span></div>
|
||
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor">#define SERCOM2_USART_IRDA 1 // USART IrDA implemented?</span></div>
|
||
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor">#define SERCOM2_USART_ISO7816 1 // USART ISO7816 mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor">#define SERCOM2_USART_LIN_MASTER 1 // USART LIN Master mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor">#define SERCOM2_USART_RS485 1 // USART RS485 mode implemented?</span></div>
|
||
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="preprocessor">#define SERCOM2_USART_SAMPA_EXT 1 // USART sample adjust implemented?</span></div>
|
||
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor">#define SERCOM2_USART_SAMPR_EXT 1 // USART oversampling adjustment implemented?</span></div>
|
||
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
|
||
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="preprocessor">#endif </span><span class="comment">/* _SAME54_SERCOM2_INSTANCE_ */</span><span class="preprocessor"></span></div>
|
||
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|