\hypertarget{group__util__twi}{}\doxysubsection{$<$util/twi.h$>$\+: T\+WI bit mask definitions}
\label{group__util__twi}\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxysubsubsection*{T\+W\+SR values}
\label{_amgrp42f820ba9b5b7097b4fd1e83955bb8fc}%
Mnemonics\+: ~\newline
T\+W\+\_\+\+M\+T\+\_\+xxx -\/ master transmitter ~\newline
T\+W\+\_\+\+M\+R\+\_\+xxx -\/ master receiver ~\newline
T\+W\+\_\+\+S\+T\+\_\+xxx -\/ slave transmitter ~\newline
T\+W\+\_\+\+S\+R\+\_\+xxx -\/ slave receiver \begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__util__twi_ga8ec630c2063d0353c53d140b99382d80}{T\+W\+\_\+\+S\+T\+A\+RT}}~0x08
\item 
\#define \mbox{\hyperlink{group__util__twi_ga8dce3e4b7e35355a8add9ed63d1fa3ab}{T\+W\+\_\+\+R\+E\+P\+\_\+\+S\+T\+A\+RT}}~0x10
\item 
\#define \mbox{\hyperlink{group__util__twi_ga85cae14b4190042335d25ed9a1b72369}{T\+W\+\_\+\+M\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK}}~0x18
\item 
\#define \mbox{\hyperlink{group__util__twi_gaca64b973c51d6548a962c1d7cae0663e}{T\+W\+\_\+\+M\+T\+\_\+\+S\+L\+A\+\_\+\+N\+A\+CK}}~0x20
\item 
\#define \mbox{\hyperlink{group__util__twi_ga4c28186053b5298305b131ad3e1111f7}{T\+W\+\_\+\+M\+T\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK}}~0x28
\item 
\#define \mbox{\hyperlink{group__util__twi_ga91c107a74d268f8578d866ed1bbbd4f3}{T\+W\+\_\+\+M\+T\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK}}~0x30
\item 
\#define \mbox{\hyperlink{group__util__twi_ga5959251c4bd80f48b5a029447d86adb3}{T\+W\+\_\+\+M\+T\+\_\+\+A\+R\+B\+\_\+\+L\+O\+ST}}~0x38
\item 
\#define \mbox{\hyperlink{group__util__twi_gad85222308836bfbe099255662ffb510c}{T\+W\+\_\+\+M\+R\+\_\+\+A\+R\+B\+\_\+\+L\+O\+ST}}~0x38
\item 
\#define \mbox{\hyperlink{group__util__twi_gac16504b87d15d83b97bb0ce61577bb40}{T\+W\+\_\+\+M\+R\+\_\+\+S\+L\+A\+\_\+\+A\+CK}}~0x40
\item 
\#define \mbox{\hyperlink{group__util__twi_ga655325b6f8a1818103b126cc3774d8e8}{T\+W\+\_\+\+M\+R\+\_\+\+S\+L\+A\+\_\+\+N\+A\+CK}}~0x48
\item 
\#define \mbox{\hyperlink{group__util__twi_ga3c8c79b2ecb8d22358839890161cc33b}{T\+W\+\_\+\+M\+R\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK}}~0x50
\item 
\#define \mbox{\hyperlink{group__util__twi_ga532f0ffa12f684346c74a5cbec15950e}{T\+W\+\_\+\+M\+R\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK}}~0x58
\item 
\#define \mbox{\hyperlink{group__util__twi_ga0ecd2ca38d00279194460e65028a0533}{T\+W\+\_\+\+S\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK}}~0x\+A8
\item 
\#define \mbox{\hyperlink{group__util__twi_ga1064659d0758206d43d69cd582d1f5da}{T\+W\+\_\+\+S\+T\+\_\+\+A\+R\+B\+\_\+\+L\+O\+S\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK}}~0x\+B0
\item 
\#define \mbox{\hyperlink{group__util__twi_ga2de84bf7cbf1cd7ae43a6e0f0eeca719}{T\+W\+\_\+\+S\+T\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK}}~0x\+B8
\item 
\#define \mbox{\hyperlink{group__util__twi_gacc1837317b1d45e9bb49b8e83cfe6d42}{T\+W\+\_\+\+S\+T\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK}}~0x\+C0
\item 
\#define \mbox{\hyperlink{group__util__twi_gaf92d03d0051d47f5b9375f0ef9293d64}{T\+W\+\_\+\+S\+T\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+TA}}~0x\+C8
\item 
\#define \mbox{\hyperlink{group__util__twi_ga9e9e761d674793772e6b3f77fc9d7fab}{T\+W\+\_\+\+S\+R\+\_\+\+S\+L\+A\+\_\+\+A\+CK}}~0x60
\item 
\#define \mbox{\hyperlink{group__util__twi_ga1c3ed5ed345d17972002b9fd07f4f829}{T\+W\+\_\+\+S\+R\+\_\+\+A\+R\+B\+\_\+\+L\+O\+S\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK}}~0x68
\item 
\#define \mbox{\hyperlink{group__util__twi_ga6eb3b4230887a8b73d7787ff231ea911}{T\+W\+\_\+\+S\+R\+\_\+\+G\+C\+A\+L\+L\+\_\+\+A\+CK}}~0x70
\item 
\#define \mbox{\hyperlink{group__util__twi_ga4756103341a65e0e3889996cdf15b2fa}{T\+W\+\_\+\+S\+R\+\_\+\+A\+R\+B\+\_\+\+L\+O\+S\+T\+\_\+\+G\+C\+A\+L\+L\+\_\+\+A\+CK}}~0x78
\item 
\#define \mbox{\hyperlink{group__util__twi_gac50f1a59c74c3109d4913dbecfb472c1}{T\+W\+\_\+\+S\+R\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK}}~0x80
\item 
\#define \mbox{\hyperlink{group__util__twi_ga6c0fa701fe9d96b0b7df29e8af154f94}{T\+W\+\_\+\+S\+R\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK}}~0x88
\item 
\#define \mbox{\hyperlink{group__util__twi_ga4abaad098fd92bed63719ffb01802c8d}{T\+W\+\_\+\+S\+R\+\_\+\+G\+C\+A\+L\+L\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK}}~0x90
\item 
\#define \mbox{\hyperlink{group__util__twi_ga42234278f9b01b9af75dbbc617b97890}{T\+W\+\_\+\+S\+R\+\_\+\+G\+C\+A\+L\+L\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK}}~0x98
\item 
\#define \mbox{\hyperlink{group__util__twi_ga98d2570f965790884cf1774e716ec629}{T\+W\+\_\+\+S\+R\+\_\+\+S\+T\+OP}}~0x\+A0
\item 
\#define \mbox{\hyperlink{group__util__twi_gabcff70642634cb53e9d8e93872f70c90}{T\+W\+\_\+\+N\+O\+\_\+\+I\+N\+FO}}~0x\+F8
\item 
\#define \mbox{\hyperlink{group__util__twi_ga90d373160b1d0a3f0c454af83c57df71}{T\+W\+\_\+\+B\+U\+S\+\_\+\+E\+R\+R\+OR}}~0x00
\item 
\#define \mbox{\hyperlink{group__util__twi_ga8d3aca0acc182f459a51797321728168}{T\+W\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+M\+A\+SK}}
\item 
\#define \mbox{\hyperlink{group__util__twi_ga4440385d1818b4fe89b20341ea47b75a}{T\+W\+\_\+\+S\+T\+A\+T\+US}}~(T\+W\+SR \& \mbox{\hyperlink{group__util__twi_ga8d3aca0acc182f459a51797321728168}{T\+W\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+M\+A\+SK}})
\end{DoxyCompactItemize}
\doxysubsubsection*{R/$\sim$W bit in S\+L\+A+\+R/W address field.}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__util__twi_gaf40f13cadca25e0a83dc096858907819}{T\+W\+\_\+\+R\+E\+AD}}~1
\item 
\#define \mbox{\hyperlink{group__util__twi_gac8a7cb1a91946c6e3955608a91371148}{T\+W\+\_\+\+W\+R\+I\+TE}}~0
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <\mbox{\hyperlink{util_2twi_8h}{util/twi.h}}>} }
\end{DoxyCode}


This header file contains bit mask definitions for use with the A\+VR T\+WI interface. 

\doxysubsubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__util__twi_ga90d373160b1d0a3f0c454af83c57df71}\label{group__util__twi_ga90d373160b1d0a3f0c454af83c57df71}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_BUS\_ERROR@{TW\_BUS\_ERROR}}
\index{TW\_BUS\_ERROR@{TW\_BUS\_ERROR}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_BUS\_ERROR}{TW\_BUS\_ERROR}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+B\+U\+S\+\_\+\+E\+R\+R\+OR~0x00}

illegal start or stop condition \mbox{\Hypertarget{group__util__twi_gad85222308836bfbe099255662ffb510c}\label{group__util__twi_gad85222308836bfbe099255662ffb510c}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MR\_ARB\_LOST@{TW\_MR\_ARB\_LOST}}
\index{TW\_MR\_ARB\_LOST@{TW\_MR\_ARB\_LOST}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MR\_ARB\_LOST}{TW\_MR\_ARB\_LOST}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+R\+\_\+\+A\+R\+B\+\_\+\+L\+O\+ST~0x38}

arbitration lost in S\+L\+A+R or N\+A\+CK \mbox{\Hypertarget{group__util__twi_ga3c8c79b2ecb8d22358839890161cc33b}\label{group__util__twi_ga3c8c79b2ecb8d22358839890161cc33b}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MR\_DATA\_ACK@{TW\_MR\_DATA\_ACK}}
\index{TW\_MR\_DATA\_ACK@{TW\_MR\_DATA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MR\_DATA\_ACK}{TW\_MR\_DATA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+R\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK~0x50}

data received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga532f0ffa12f684346c74a5cbec15950e}\label{group__util__twi_ga532f0ffa12f684346c74a5cbec15950e}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MR\_DATA\_NACK@{TW\_MR\_DATA\_NACK}}
\index{TW\_MR\_DATA\_NACK@{TW\_MR\_DATA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MR\_DATA\_NACK}{TW\_MR\_DATA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+R\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK~0x58}

data received, N\+A\+CK returned \mbox{\Hypertarget{group__util__twi_gac16504b87d15d83b97bb0ce61577bb40}\label{group__util__twi_gac16504b87d15d83b97bb0ce61577bb40}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MR\_SLA\_ACK@{TW\_MR\_SLA\_ACK}}
\index{TW\_MR\_SLA\_ACK@{TW\_MR\_SLA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MR\_SLA\_ACK}{TW\_MR\_SLA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+R\+\_\+\+S\+L\+A\+\_\+\+A\+CK~0x40}

S\+L\+A+R transmitted, A\+CK received \mbox{\Hypertarget{group__util__twi_ga655325b6f8a1818103b126cc3774d8e8}\label{group__util__twi_ga655325b6f8a1818103b126cc3774d8e8}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MR\_SLA\_NACK@{TW\_MR\_SLA\_NACK}}
\index{TW\_MR\_SLA\_NACK@{TW\_MR\_SLA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MR\_SLA\_NACK}{TW\_MR\_SLA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+R\+\_\+\+S\+L\+A\+\_\+\+N\+A\+CK~0x48}

S\+L\+A+R transmitted, N\+A\+CK received \mbox{\Hypertarget{group__util__twi_ga5959251c4bd80f48b5a029447d86adb3}\label{group__util__twi_ga5959251c4bd80f48b5a029447d86adb3}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MT\_ARB\_LOST@{TW\_MT\_ARB\_LOST}}
\index{TW\_MT\_ARB\_LOST@{TW\_MT\_ARB\_LOST}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MT\_ARB\_LOST}{TW\_MT\_ARB\_LOST}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+T\+\_\+\+A\+R\+B\+\_\+\+L\+O\+ST~0x38}

arbitration lost in S\+L\+A+W or data \mbox{\Hypertarget{group__util__twi_ga4c28186053b5298305b131ad3e1111f7}\label{group__util__twi_ga4c28186053b5298305b131ad3e1111f7}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MT\_DATA\_ACK@{TW\_MT\_DATA\_ACK}}
\index{TW\_MT\_DATA\_ACK@{TW\_MT\_DATA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MT\_DATA\_ACK}{TW\_MT\_DATA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+T\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK~0x28}

data transmitted, A\+CK received \mbox{\Hypertarget{group__util__twi_ga91c107a74d268f8578d866ed1bbbd4f3}\label{group__util__twi_ga91c107a74d268f8578d866ed1bbbd4f3}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MT\_DATA\_NACK@{TW\_MT\_DATA\_NACK}}
\index{TW\_MT\_DATA\_NACK@{TW\_MT\_DATA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MT\_DATA\_NACK}{TW\_MT\_DATA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+T\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK~0x30}

data transmitted, N\+A\+CK received \mbox{\Hypertarget{group__util__twi_ga85cae14b4190042335d25ed9a1b72369}\label{group__util__twi_ga85cae14b4190042335d25ed9a1b72369}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MT\_SLA\_ACK@{TW\_MT\_SLA\_ACK}}
\index{TW\_MT\_SLA\_ACK@{TW\_MT\_SLA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MT\_SLA\_ACK}{TW\_MT\_SLA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK~0x18}

S\+L\+A+W transmitted, A\+CK received \mbox{\Hypertarget{group__util__twi_gaca64b973c51d6548a962c1d7cae0663e}\label{group__util__twi_gaca64b973c51d6548a962c1d7cae0663e}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_MT\_SLA\_NACK@{TW\_MT\_SLA\_NACK}}
\index{TW\_MT\_SLA\_NACK@{TW\_MT\_SLA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_MT\_SLA\_NACK}{TW\_MT\_SLA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+M\+T\+\_\+\+S\+L\+A\+\_\+\+N\+A\+CK~0x20}

S\+L\+A+W transmitted, N\+A\+CK received \mbox{\Hypertarget{group__util__twi_gabcff70642634cb53e9d8e93872f70c90}\label{group__util__twi_gabcff70642634cb53e9d8e93872f70c90}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_NO\_INFO@{TW\_NO\_INFO}}
\index{TW\_NO\_INFO@{TW\_NO\_INFO}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_NO\_INFO}{TW\_NO\_INFO}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+N\+O\+\_\+\+I\+N\+FO~0x\+F8}

no state information available \mbox{\Hypertarget{group__util__twi_gaf40f13cadca25e0a83dc096858907819}\label{group__util__twi_gaf40f13cadca25e0a83dc096858907819}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_READ@{TW\_READ}}
\index{TW\_READ@{TW\_READ}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_READ}{TW\_READ}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+R\+E\+AD~1}

S\+L\+A+R address \mbox{\Hypertarget{group__util__twi_ga8dce3e4b7e35355a8add9ed63d1fa3ab}\label{group__util__twi_ga8dce3e4b7e35355a8add9ed63d1fa3ab}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_REP\_START@{TW\_REP\_START}}
\index{TW\_REP\_START@{TW\_REP\_START}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_REP\_START}{TW\_REP\_START}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+R\+E\+P\+\_\+\+S\+T\+A\+RT~0x10}

repeated start condition transmitted \mbox{\Hypertarget{group__util__twi_ga4756103341a65e0e3889996cdf15b2fa}\label{group__util__twi_ga4756103341a65e0e3889996cdf15b2fa}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_ARB\_LOST\_GCALL\_ACK@{TW\_SR\_ARB\_LOST\_GCALL\_ACK}}
\index{TW\_SR\_ARB\_LOST\_GCALL\_ACK@{TW\_SR\_ARB\_LOST\_GCALL\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_ARB\_LOST\_GCALL\_ACK}{TW\_SR\_ARB\_LOST\_GCALL\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+A\+R\+B\+\_\+\+L\+O\+S\+T\+\_\+\+G\+C\+A\+L\+L\+\_\+\+A\+CK~0x78}

arbitration lost in S\+L\+A+\+RW, general call received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga1c3ed5ed345d17972002b9fd07f4f829}\label{group__util__twi_ga1c3ed5ed345d17972002b9fd07f4f829}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_ARB\_LOST\_SLA\_ACK@{TW\_SR\_ARB\_LOST\_SLA\_ACK}}
\index{TW\_SR\_ARB\_LOST\_SLA\_ACK@{TW\_SR\_ARB\_LOST\_SLA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_ARB\_LOST\_SLA\_ACK}{TW\_SR\_ARB\_LOST\_SLA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+A\+R\+B\+\_\+\+L\+O\+S\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK~0x68}

arbitration lost in S\+L\+A+\+RW, S\+L\+A+W received, A\+CK returned \mbox{\Hypertarget{group__util__twi_gac50f1a59c74c3109d4913dbecfb472c1}\label{group__util__twi_gac50f1a59c74c3109d4913dbecfb472c1}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_DATA\_ACK@{TW\_SR\_DATA\_ACK}}
\index{TW\_SR\_DATA\_ACK@{TW\_SR\_DATA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_DATA\_ACK}{TW\_SR\_DATA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK~0x80}

data received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga6c0fa701fe9d96b0b7df29e8af154f94}\label{group__util__twi_ga6c0fa701fe9d96b0b7df29e8af154f94}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_DATA\_NACK@{TW\_SR\_DATA\_NACK}}
\index{TW\_SR\_DATA\_NACK@{TW\_SR\_DATA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_DATA\_NACK}{TW\_SR\_DATA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK~0x88}

data received, N\+A\+CK returned \mbox{\Hypertarget{group__util__twi_ga6eb3b4230887a8b73d7787ff231ea911}\label{group__util__twi_ga6eb3b4230887a8b73d7787ff231ea911}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_GCALL\_ACK@{TW\_SR\_GCALL\_ACK}}
\index{TW\_SR\_GCALL\_ACK@{TW\_SR\_GCALL\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_GCALL\_ACK}{TW\_SR\_GCALL\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+G\+C\+A\+L\+L\+\_\+\+A\+CK~0x70}

general call received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga4abaad098fd92bed63719ffb01802c8d}\label{group__util__twi_ga4abaad098fd92bed63719ffb01802c8d}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_GCALL\_DATA\_ACK@{TW\_SR\_GCALL\_DATA\_ACK}}
\index{TW\_SR\_GCALL\_DATA\_ACK@{TW\_SR\_GCALL\_DATA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_GCALL\_DATA\_ACK}{TW\_SR\_GCALL\_DATA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+G\+C\+A\+L\+L\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK~0x90}

general call data received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga42234278f9b01b9af75dbbc617b97890}\label{group__util__twi_ga42234278f9b01b9af75dbbc617b97890}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_GCALL\_DATA\_NACK@{TW\_SR\_GCALL\_DATA\_NACK}}
\index{TW\_SR\_GCALL\_DATA\_NACK@{TW\_SR\_GCALL\_DATA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_GCALL\_DATA\_NACK}{TW\_SR\_GCALL\_DATA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+G\+C\+A\+L\+L\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK~0x98}

general call data received, N\+A\+CK returned \mbox{\Hypertarget{group__util__twi_ga9e9e761d674793772e6b3f77fc9d7fab}\label{group__util__twi_ga9e9e761d674793772e6b3f77fc9d7fab}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_SLA\_ACK@{TW\_SR\_SLA\_ACK}}
\index{TW\_SR\_SLA\_ACK@{TW\_SR\_SLA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_SLA\_ACK}{TW\_SR\_SLA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+S\+L\+A\+\_\+\+A\+CK~0x60}

S\+L\+A+W received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga98d2570f965790884cf1774e716ec629}\label{group__util__twi_ga98d2570f965790884cf1774e716ec629}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_SR\_STOP@{TW\_SR\_STOP}}
\index{TW\_SR\_STOP@{TW\_SR\_STOP}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_SR\_STOP}{TW\_SR\_STOP}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+R\+\_\+\+S\+T\+OP~0x\+A0}

stop or repeated start condition received while selected \mbox{\Hypertarget{group__util__twi_ga1064659d0758206d43d69cd582d1f5da}\label{group__util__twi_ga1064659d0758206d43d69cd582d1f5da}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_ST\_ARB\_LOST\_SLA\_ACK@{TW\_ST\_ARB\_LOST\_SLA\_ACK}}
\index{TW\_ST\_ARB\_LOST\_SLA\_ACK@{TW\_ST\_ARB\_LOST\_SLA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_ST\_ARB\_LOST\_SLA\_ACK}{TW\_ST\_ARB\_LOST\_SLA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+\_\+\+A\+R\+B\+\_\+\+L\+O\+S\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK~0x\+B0}

arbitration lost in S\+L\+A+\+RW, S\+L\+A+R received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga2de84bf7cbf1cd7ae43a6e0f0eeca719}\label{group__util__twi_ga2de84bf7cbf1cd7ae43a6e0f0eeca719}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_ST\_DATA\_ACK@{TW\_ST\_DATA\_ACK}}
\index{TW\_ST\_DATA\_ACK@{TW\_ST\_DATA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_ST\_DATA\_ACK}{TW\_ST\_DATA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+\_\+\+D\+A\+T\+A\+\_\+\+A\+CK~0x\+B8}

data transmitted, A\+CK received \mbox{\Hypertarget{group__util__twi_gacc1837317b1d45e9bb49b8e83cfe6d42}\label{group__util__twi_gacc1837317b1d45e9bb49b8e83cfe6d42}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_ST\_DATA\_NACK@{TW\_ST\_DATA\_NACK}}
\index{TW\_ST\_DATA\_NACK@{TW\_ST\_DATA\_NACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_ST\_DATA\_NACK}{TW\_ST\_DATA\_NACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+\_\+\+D\+A\+T\+A\+\_\+\+N\+A\+CK~0x\+C0}

data transmitted, N\+A\+CK received \mbox{\Hypertarget{group__util__twi_gaf92d03d0051d47f5b9375f0ef9293d64}\label{group__util__twi_gaf92d03d0051d47f5b9375f0ef9293d64}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_ST\_LAST\_DATA@{TW\_ST\_LAST\_DATA}}
\index{TW\_ST\_LAST\_DATA@{TW\_ST\_LAST\_DATA}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_ST\_LAST\_DATA}{TW\_ST\_LAST\_DATA}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+\_\+\+L\+A\+S\+T\+\_\+\+D\+A\+TA~0x\+C8}

last data byte transmitted, A\+CK received \mbox{\Hypertarget{group__util__twi_ga0ecd2ca38d00279194460e65028a0533}\label{group__util__twi_ga0ecd2ca38d00279194460e65028a0533}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_ST\_SLA\_ACK@{TW\_ST\_SLA\_ACK}}
\index{TW\_ST\_SLA\_ACK@{TW\_ST\_SLA\_ACK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_ST\_SLA\_ACK}{TW\_ST\_SLA\_ACK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+\_\+\+S\+L\+A\+\_\+\+A\+CK~0x\+A8}

S\+L\+A+R received, A\+CK returned \mbox{\Hypertarget{group__util__twi_ga8ec630c2063d0353c53d140b99382d80}\label{group__util__twi_ga8ec630c2063d0353c53d140b99382d80}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_START@{TW\_START}}
\index{TW\_START@{TW\_START}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_START}{TW\_START}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+A\+RT~0x08}

start condition transmitted \mbox{\Hypertarget{group__util__twi_ga4440385d1818b4fe89b20341ea47b75a}\label{group__util__twi_ga4440385d1818b4fe89b20341ea47b75a}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_STATUS@{TW\_STATUS}}
\index{TW\_STATUS@{TW\_STATUS}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_STATUS}{TW\_STATUS}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+A\+T\+US~(T\+W\+SR \& \mbox{\hyperlink{group__util__twi_ga8d3aca0acc182f459a51797321728168}{T\+W\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+M\+A\+SK}})}

T\+W\+SR, masked by T\+W\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+M\+A\+SK \mbox{\Hypertarget{group__util__twi_ga8d3aca0acc182f459a51797321728168}\label{group__util__twi_ga8d3aca0acc182f459a51797321728168}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_STATUS\_MASK@{TW\_STATUS\_MASK}}
\index{TW\_STATUS\_MASK@{TW\_STATUS\_MASK}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_STATUS\_MASK}{TW\_STATUS\_MASK}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+S\+T\+A\+T\+U\+S\+\_\+\+M\+A\+SK}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{(\mbox{\hyperlink{group__avr__sfr_ga11643f271076024c395a93800b3d9546}{\_BV}}(TWS7)|\mbox{\hyperlink{group__avr__sfr_ga11643f271076024c395a93800b3d9546}{\_BV}}(TWS6)|\mbox{\hyperlink{group__avr__sfr_ga11643f271076024c395a93800b3d9546}{\_BV}}(TWS5)|\mbox{\hyperlink{group__avr__sfr_ga11643f271076024c395a93800b3d9546}{\_BV}}(TWS4)|\(\backslash\)}
\DoxyCodeLine{                \_BV(TWS3))}

\end{DoxyCode}
The lower 3 bits of T\+W\+SR are reserved on the A\+Tmega163. The 2 L\+SB carry the prescaler bits on the newer A\+Tmegas. \mbox{\Hypertarget{group__util__twi_gac8a7cb1a91946c6e3955608a91371148}\label{group__util__twi_gac8a7cb1a91946c6e3955608a91371148}} 
\index{$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}!TW\_WRITE@{TW\_WRITE}}
\index{TW\_WRITE@{TW\_WRITE}!$<$util/twi.h$>$: TWI bit mask definitions@{$<$util/twi.h$>$: TWI bit mask definitions}}
\doxyparagraph{\texorpdfstring{TW\_WRITE}{TW\_WRITE}}
{\footnotesize\ttfamily \#define T\+W\+\_\+\+W\+R\+I\+TE~0}

S\+L\+A+W address 