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

<!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/sercom4.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&amp;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&amp;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">sercom4.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="sercom4_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>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#ifndef _SAME54_SERCOM4_INSTANCE_</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#define _SAME54_SERCOM4_INSTANCE_</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment">/* ========== Register definition for SERCOM4 peripheral ========== */</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_CTRLA (0x43000000) </span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_CTRLB (0x43000004) </span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_CTRLC (0x43000008) </span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_BAUD (0x4300000C) </span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_INTENCLR (0x43000014) </span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_INTENSET (0x43000016) </span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_INTFLAG (0x43000018) </span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_STATUS (0x4300001A) </span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_SYNCBUSY (0x4300001C) </span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_ADDR (0x43000024) </span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_DATA (0x43000028) </span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_DBGCTRL (0x43000030) </span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_CTRLA (0x43000000) </span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_CTRLB (0x43000004) </span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_CTRLC (0x43000008) </span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_INTENCLR (0x43000014) </span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_INTENSET (0x43000016) </span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_INTFLAG (0x43000018) </span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_STATUS (0x4300001A) </span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_SYNCBUSY (0x4300001C) </span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_LENGTH (0x43000022) </span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_ADDR (0x43000024) </span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_DATA (0x43000028) </span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_CTRLA (0x43000000) </span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_CTRLB (0x43000004) </span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_CTRLC (0x43000008) </span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_BAUD (0x4300000C) </span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_INTENCLR (0x43000014) </span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_INTENSET (0x43000016) </span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_INTFLAG (0x43000018) </span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_STATUS (0x4300001A) </span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_SYNCBUSY (0x4300001C) </span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_LENGTH (0x43000022) </span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_ADDR (0x43000024) </span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_DATA (0x43000028) </span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_DBGCTRL (0x43000030) </span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_CTRLA (0x43000000) </span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_CTRLB (0x43000004) </span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_CTRLC (0x43000008) </span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_BAUD (0x4300000C) </span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_RXPL (0x4300000E) </span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_INTENCLR (0x43000014) </span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_INTENSET (0x43000016) </span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_INTFLAG (0x43000018) </span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_STATUS (0x4300001A) </span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_SYNCBUSY (0x4300001C) </span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_RXERRCNT (0x43000020) </span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_LENGTH (0x43000022) </span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_DATA (0x43000028) </span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_DBGCTRL (0x43000030) </span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a550f3213a3631f445a54564ed317b4a7"> 86</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_CTRLA (*(RwReg *)0x43000000UL) </span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="sercom4_8h.html#af9eb4408c5d25ede4647ff23a2502be6"> 87</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_CTRLB (*(RwReg *)0x43000004UL) </span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a40e3ec09c7a902ae7cbb87cfaec84f89"> 88</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_CTRLC (*(RwReg *)0x43000008UL) </span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a2ad881e875b3133fb623f5983485296d"> 89</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_BAUD (*(RwReg *)0x4300000CUL) </span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a61a97abaffd4ef3887cc73f7e91a2b58"> 90</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_INTENCLR (*(RwReg8 *)0x43000014UL) </span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a777f1a8763d887c585a2bbd513b4013d"> 91</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_INTENSET (*(RwReg8 *)0x43000016UL) </span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a010320e7844c6a7b23225e447878b526"> 92</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_INTFLAG (*(RwReg8 *)0x43000018UL) </span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a1931d47b691df4ce9232af4f1c6ff20c"> 93</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_STATUS (*(RwReg16*)0x4300001AUL) </span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ae07a44dfbfa607bb9db6a1b43737aba1"> 94</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_SYNCBUSY (*(RoReg *)0x4300001CUL) </span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ae1a703b5b946bcdbaf469edf0183d4ab"> 95</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_ADDR (*(RwReg *)0x43000024UL) </span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a9e0001a42612c67a6b697abe11a57b63"> 96</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_DATA (*(RwReg *)0x43000028UL) </span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a316159b4a7e50ffe5309de5a5e1a0b39"> 97</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CM_DBGCTRL (*(RwReg8 *)0x43000030UL) </span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="sercom4_8h.html#afdedbeed55c9f320bc73bc39771ac3b0"> 98</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_CTRLA (*(RwReg *)0x43000000UL) </span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ae1525725545d15fc7f9d5ff7c7b94cfa"> 99</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_CTRLB (*(RwReg *)0x43000004UL) </span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a075610852707603038abb3354a5696dc"> 100</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_CTRLC (*(RwReg *)0x43000008UL) </span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a643ab316d2945f17ed767706ffef71d6"> 101</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_INTENCLR (*(RwReg8 *)0x43000014UL) </span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a7e5bdf43340a06e0bc47e015c7d013be"> 102</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_INTENSET (*(RwReg8 *)0x43000016UL) </span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="sercom4_8h.html#af73cec47743212ed53697e039266f244"> 103</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_INTFLAG (*(RwReg8 *)0x43000018UL) </span></div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a2d12547c5467b2d2608c571c4bee3975"> 104</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_STATUS (*(RwReg16*)0x4300001AUL) </span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a33dad4a8d9debcf16bfcab31c2e89e62"> 105</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_SYNCBUSY (*(RoReg *)0x4300001CUL) </span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ab8d4bf1ec3f4d1c89e12ffa6e04c2201"> 106</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_LENGTH (*(RwReg16*)0x43000022UL) </span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a43a836e2a2764285506616139125f273"> 107</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_ADDR (*(RwReg *)0x43000024UL) </span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="sercom4_8h.html#aecaad25ad8cfa946b245cfcd5a7cb654"> 108</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_I2CS_DATA (*(RwReg *)0x43000028UL) </span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a4853cae6bdf04371f2ee804cae01ff8f"> 109</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_CTRLA (*(RwReg *)0x43000000UL) </span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ac92b41a54e723ac6d183f96ba49336a3"> 110</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_CTRLB (*(RwReg *)0x43000004UL) </span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="sercom4_8h.html#aaa7a08e7579fbcc2fb53351a3933117c"> 111</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_CTRLC (*(RwReg *)0x43000008UL) </span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a6270d019e5df72220d97e89b8f4e27b9"> 112</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_BAUD (*(RwReg8 *)0x4300000CUL) </span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a359cec85b7c846125ff8dd4810997bfe"> 113</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_INTENCLR (*(RwReg8 *)0x43000014UL) </span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a7d2f36819ac2afa9df7461e3d2ae40aa"> 114</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_INTENSET (*(RwReg8 *)0x43000016UL) </span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a2dba5b46dd449a3e311fe76cc4cb5e86"> 115</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_INTFLAG (*(RwReg8 *)0x43000018UL) </span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ad7d69154a4648de95c3eaf101759907b"> 116</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_STATUS (*(RwReg16*)0x4300001AUL) </span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a99b6576e47cec04bd50208de10e30817"> 117</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_SYNCBUSY (*(RoReg *)0x4300001CUL) </span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ab15c6538b197a15c3bfa640cff465698"> 118</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_LENGTH (*(RwReg16*)0x43000022UL) </span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a213f4cf7cbef27b723a6c31ab37c7732"> 119</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_ADDR (*(RwReg *)0x43000024UL) </span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ad34eed9d64d09397438cfc8a554b5384"> 120</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_DATA (*(RwReg *)0x43000028UL) </span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="sercom4_8h.html#abfb9999da10d5112b1e5ac3437eaf844"> 121</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_SPI_DBGCTRL (*(RwReg8 *)0x43000030UL) </span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="sercom4_8h.html#afcce57a4632235518671d7febdb37f4a"> 122</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_CTRLA (*(RwReg *)0x43000000UL) </span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a3ec0da15fd3a7c0da544c7f2ab82ac34"> 123</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_CTRLB (*(RwReg *)0x43000004UL) </span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a81bf32fd75058060e88c9058ab226622"> 124</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_CTRLC (*(RwReg *)0x43000008UL) </span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a01f1cef1997977e01d81e4b3094a8fe6"> 125</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_BAUD (*(RwReg16*)0x4300000CUL) </span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ad99f8d050693f7ea0f59d78f08e8144b"> 126</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_RXPL (*(RwReg8 *)0x4300000EUL) </span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a85c40fbdd0c0fea44937399dda7939a6"> 127</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_INTENCLR (*(RwReg8 *)0x43000014UL) </span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a8624b409deed002c02321b260551b2be"> 128</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_INTENSET (*(RwReg8 *)0x43000016UL) </span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a04e64eb9ec90a62dbafbdce7e99afc40"> 129</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_INTFLAG (*(RwReg8 *)0x43000018UL) </span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ac364fefb585dcfd9595a08d475be6517"> 130</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_STATUS (*(RwReg16*)0x4300001AUL) </span></div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a7c8254dfd0d0af23d85625cc7b600f5f"> 131</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_SYNCBUSY (*(RoReg *)0x4300001CUL) </span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a3de12ed48ee61b142229ad402e88ecc7"> 132</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_RXERRCNT (*(RoReg8 *)0x43000020UL) </span></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a6235ef1ed7e9e32ab3a0d7768373a25a"> 133</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_LENGTH (*(RwReg16*)0x43000022UL) </span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="sercom4_8h.html#ac125cae6fdeb2e6b7505c651a588cf58"> 134</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_DATA (*(RwReg *)0x43000028UL) </span></div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="sercom4_8h.html#a107780189d18aefe14a1aeb133948f82"> 135</a></span>&#160;<span class="preprocessor">#define REG_SERCOM4_USART_DBGCTRL (*(RwReg8 *)0x43000030UL) </span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<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>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="comment">/* ========== Instance parameters for SERCOM4 peripheral ========== */</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="preprocessor">#define SERCOM4_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>&#160;<span class="preprocessor">#define SERCOM4_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>&#160;<span class="preprocessor">#define SERCOM4_DMA 1 // DMA support implemented?</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;<span class="preprocessor">#define SERCOM4_DMAC_ID_RX 12 // Index of DMA RX trigger</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="preprocessor">#define SERCOM4_DMAC_ID_TX 13 // Index of DMA TX trigger</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="preprocessor">#define SERCOM4_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>&#160;<span class="preprocessor">#define SERCOM4_GCLK_ID_CORE 34 </span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#define SERCOM4_GCLK_ID_SLOW 3 </span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#define SERCOM4_INT_MSB 6 </span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="preprocessor">#define SERCOM4_I2CM 1 // I2C Master mode implemented?</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#define SERCOM4_I2CS 1 // I2C Slave mode implemented?</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor">#define SERCOM4_I2CS_AUTO_ACK 1 // I2C slave automatic acknowledge implemented?</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="preprocessor">#define SERCOM4_I2CS_GROUP_CMD 1 // I2C slave group command implemented?</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="preprocessor">#define SERCOM4_I2CS_SDASETUP_CNT_SIZE 8 // I2CS sda setup count size</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="preprocessor">#define SERCOM4_I2CS_SDASETUP_SIZE 4 // I2CS sda setup size</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="preprocessor">#define SERCOM4_I2CS_SUDAT 1 // I2C slave SDA setup implemented?</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor">#define SERCOM4_I2C_FASTMP 1 // I2C fast mode plus implemented?</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="preprocessor">#define SERCOM4_I2C_HSMODE 1 // USART mode implemented?</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="preprocessor">#define SERCOM4_I2C_SCLSM_MODE 1 // I2C SCL clock stretch mode implemented?</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="preprocessor">#define SERCOM4_I2C_SMB_TIMEOUTS 1 // I2C SMBus timeouts implemented?</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="preprocessor">#define SERCOM4_I2C_TENBIT_ADR 1 // I2C ten bit enabled?</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="preprocessor">#define SERCOM4_PMSB 3 </span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="preprocessor">#define SERCOM4_RETENTION_SUPPORT 0 // Retention supported?</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="preprocessor">#define SERCOM4_SE_CNT 1 // SE counter included?</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="preprocessor">#define SERCOM4_SPI 1 // SPI mode implemented?</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="preprocessor">#define SERCOM4_SPI_HW_SS_CTRL 1 // Master _SS hardware control implemented?</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="preprocessor">#define SERCOM4_SPI_ICSPACE_EXT 1 // SPI inter character space implemented?</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="preprocessor">#define SERCOM4_SPI_OZMO 0 // OZMO features implemented?</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="preprocessor">#define SERCOM4_SPI_WAKE_ON_SSL 1 // _SS low detect implemented?</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="preprocessor">#define SERCOM4_TTBIT_EXTENSION 1 // 32-bit extension implemented?</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="preprocessor">#define SERCOM4_USART 1 // USART mode implemented?</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="preprocessor">#define SERCOM4_USART_AUTOBAUD 1 // USART autobaud implemented?</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="preprocessor">#define SERCOM4_USART_COLDET 1 // USART collision detection implemented?</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="preprocessor">#define SERCOM4_USART_FLOW_CTRL 1 // USART flow control implemented?</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="preprocessor">#define SERCOM4_USART_FRAC_BAUD 1 // USART fractional BAUD implemented?</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;<span class="preprocessor">#define SERCOM4_USART_IRDA 1 // USART IrDA implemented?</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="preprocessor">#define SERCOM4_USART_ISO7816 1 // USART ISO7816 mode implemented?</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="preprocessor">#define SERCOM4_USART_LIN_MASTER 1 // USART LIN Master mode implemented?</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="preprocessor">#define SERCOM4_USART_RS485 1 // USART RS485 mode implemented?</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="preprocessor">#define SERCOM4_USART_SAMPA_EXT 1 // USART sample adjust implemented?</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#define SERCOM4_USART_SAMPR_EXT 1 // USART oversampling adjustment implemented?</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _SAME54_SERCOM4_INSTANCE_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>