Home | History | Annotate | Download | only in stm32

Lines Matching refs:block

95     struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port];
113 block->CR2 = (block->CR2 &~ 0x3000) | stopBitsVals[stop_bits];
114 block->CR1 = (block->CR1 &~ 0x1600) | wordLengthVals[data_bits] | parityVals[parity] | 0x800C;
115 block->CR3 = (block->CR3 &~ 0x0300) | flowCtrlVals[flow_control];
126 block->BRR = intPart | fraPart;
129 block->CR1 |= 0x2000;
134 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit];
137 block->CR1 &=~ 0x2000;
153 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit];
155 while ((block->SR & 0x00c0) != 0x00c0);
160 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit];
163 while (!(block->SR & 0x0080));
166 block->DR = (uint8_t)c;