• Home
  • Raw
  • Download

Lines Matching refs:BIT

78 #define USART_SR_PE		BIT(0)
79 #define USART_SR_FE BIT(1)
80 #define USART_SR_NF BIT(2)
81 #define USART_SR_ORE BIT(3)
82 #define USART_SR_IDLE BIT(4)
83 #define USART_SR_RXNE BIT(5)
84 #define USART_SR_TC BIT(6)
85 #define USART_SR_TXE BIT(7)
86 #define USART_SR_LBD BIT(8)
87 #define USART_SR_CTSIF BIT(9)
88 #define USART_SR_CTS BIT(10) /* F7 */
89 #define USART_SR_RTOF BIT(11) /* F7 */
90 #define USART_SR_EOBF BIT(12) /* F7 */
91 #define USART_SR_ABRE BIT(14) /* F7 */
92 #define USART_SR_ABRF BIT(15) /* F7 */
93 #define USART_SR_BUSY BIT(16) /* F7 */
94 #define USART_SR_CMF BIT(17) /* F7 */
95 #define USART_SR_SBKF BIT(18) /* F7 */
96 #define USART_SR_TEACK BIT(21) /* F7 */
100 #define USART_SR_DUMMY_RX BIT(16)
103 #define USART_CR_TC BIT(6)
114 #define USART_CR1_SBK BIT(0)
115 #define USART_CR1_RWU BIT(1) /* F4 */
116 #define USART_CR1_RE BIT(2)
117 #define USART_CR1_TE BIT(3)
118 #define USART_CR1_IDLEIE BIT(4)
119 #define USART_CR1_RXNEIE BIT(5)
120 #define USART_CR1_TCIE BIT(6)
121 #define USART_CR1_TXEIE BIT(7)
122 #define USART_CR1_PEIE BIT(8)
123 #define USART_CR1_PS BIT(9)
124 #define USART_CR1_PCE BIT(10)
125 #define USART_CR1_WAKE BIT(11)
126 #define USART_CR1_M BIT(12)
127 #define USART_CR1_M0 BIT(12) /* F7 */
128 #define USART_CR1_MME BIT(13) /* F7 */
129 #define USART_CR1_CMIE BIT(14) /* F7 */
130 #define USART_CR1_OVER8 BIT(15)
133 #define USART_CR1_RTOIE BIT(26) /* F7 */
134 #define USART_CR1_EOBIE BIT(27) /* F7 */
135 #define USART_CR1_M1 BIT(28) /* F7 */
136 #define USART_CR1_IE_MASK (GENMASK(8, 4) | BIT(14) | BIT(26) | BIT(27))
140 #define USART_CR2_ADDM7 BIT(4) /* F7 */
141 #define USART_CR2_LBDL BIT(5)
142 #define USART_CR2_LBDIE BIT(6)
143 #define USART_CR2_LBCL BIT(8)
144 #define USART_CR2_CPHA BIT(9)
145 #define USART_CR2_CPOL BIT(10)
146 #define USART_CR2_CLKEN BIT(11)
147 #define USART_CR2_STOP_2B BIT(13)
149 #define USART_CR2_LINEN BIT(14)
150 #define USART_CR2_SWAP BIT(15) /* F7 */
151 #define USART_CR2_RXINV BIT(16) /* F7 */
152 #define USART_CR2_TXINV BIT(17) /* F7 */
153 #define USART_CR2_DATAINV BIT(18) /* F7 */
154 #define USART_CR2_MSBFIRST BIT(19) /* F7 */
155 #define USART_CR2_ABREN BIT(20) /* F7 */
157 #define USART_CR2_RTOEN BIT(23) /* F7 */
161 #define USART_CR3_EIE BIT(0)
162 #define USART_CR3_IREN BIT(1)
163 #define USART_CR3_IRLP BIT(2)
164 #define USART_CR3_HDSEL BIT(3)
165 #define USART_CR3_NACK BIT(4)
166 #define USART_CR3_SCEN BIT(5)
167 #define USART_CR3_DMAR BIT(6)
168 #define USART_CR3_DMAT BIT(7)
169 #define USART_CR3_RTSE BIT(8)
170 #define USART_CR3_CTSE BIT(9)
171 #define USART_CR3_CTSIE BIT(10)
172 #define USART_CR3_ONEBIT BIT(11)
173 #define USART_CR3_OVRDIS BIT(12) /* F7 */
174 #define USART_CR3_DDRE BIT(13) /* F7 */
175 #define USART_CR3_DEM BIT(14) /* F7 */
176 #define USART_CR3_DEP BIT(15) /* F7 */
188 #define USART_RQR_ABRRQ BIT(0) /* F7 */
189 #define USART_RQR_SBKRQ BIT(1) /* F7 */
190 #define USART_RQR_MMRQ BIT(2) /* F7 */
191 #define USART_RQR_RXFRQ BIT(3) /* F7 */
192 #define USART_RQR_TXFRQ BIT(4) /* F7 */
195 #define USART_ICR_PECF BIT(0) /* F7 */
196 #define USART_ICR_FFECF BIT(1) /* F7 */
197 #define USART_ICR_NCF BIT(2) /* F7 */
198 #define USART_ICR_ORECF BIT(3) /* F7 */
199 #define USART_ICR_IDLECF BIT(4) /* F7 */
200 #define USART_ICR_TCCF BIT(6) /* F7 */
201 #define USART_ICR_LBDCF BIT(8) /* F7 */
202 #define USART_ICR_CTSCF BIT(9) /* F7 */
203 #define USART_ICR_RTOCF BIT(11) /* F7 */
204 #define USART_ICR_EOBCF BIT(12) /* F7 */
205 #define USART_ICR_CMCF BIT(17) /* F7 */