| 142 | } |
| 143 | |
| 144 | void UARTInterface::disable_interrupts() |
| 145 | { |
| 146 | printf("disable interrupts uart\r\n"); |
| 147 | if (uart == uart0) |
| 148 | { |
| 149 | irq_set_enabled(UART0_IRQ, false); |
| 150 | uart_set_irqs_enabled(uart, false, false); |
| 151 | running_0 = false; |
| 152 | } |
| 153 | if (uart == uart1) |
| 154 | { |
| 155 | irq_set_enabled(UART1_IRQ, false); |
| 156 | uart_set_irqs_enabled(uart, false, false); |
| 157 | running_1 = false; |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | bool UARTInterface::send(uint8_t *data, uint8_t size) |
| 162 | { |
no outgoing calls
no test coverage detected