Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 1 | This file documents what code is using which peripherial(s), priorities when |
| 2 | applicable, and which file(s) the code is in. The purpose is to make assigning |
| 3 | priorities to everything else easier because the relative priorities of |
| 4 | everything is what matters; the absolute priority is meaningless. It also helps |
| 5 | with choosing things like timers. |
| 6 | |
| 7 | [BBB communication] |
Brian Silverman | df49fe3 | 2013-12-11 14:21:37 -0800 | [diff] [blame] | 8 | uart_common |
| 9 | USART1 |
| 10 | uart |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 11 | USART1_IRQ:3 |
Brian Silverman | df49fe3 | 2013-12-11 14:21:37 -0800 | [diff] [blame] | 12 | uart_dma |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 13 | DMA2.7:2 |
| 14 | DMA2.7_IRQ:6 |
Brian Silverman | df49fe3 | 2013-12-11 14:21:37 -0800 | [diff] [blame] | 15 | uart_byte |
| 16 | TIM7 |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 17 | |
| 18 | [gyro communication] |
Brian Silverman | 18b0164 | 2013-12-13 21:12:25 -0800 | [diff] [blame^] | 19 | gyro |
| 20 | SPI3 |
| 21 | SPI3_IRQ:4 |
| 22 | TIM10 |
| 23 | TIM10_IRQ:5 (aka TIM1_UP) |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 24 | |
| 25 | [ADC communication] |
| 26 | SPI2 |
| 27 | |
| 28 | [encoders] |
Brian Silverman | df49fe3 | 2013-12-11 14:21:37 -0800 | [diff] [blame] | 29 | encoder |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 30 | TIM1,TIM2,TIM3,TIM4,TIM5,TIM8 |
Brian Silverman | 1b6fbd0 | 2013-12-12 18:08:47 -0800 | [diff] [blame] | 31 | EXTI0,EXTI1,EXTI2,EXTI3 |
| 32 | EXTI0_IRQ:0,EXTI1_IRQ:0,EXTI2_IRQ:0,EXTI3_IRQ:0 |
| 33 | |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 34 | |
| 35 | [sensor packet sending] |
Brian Silverman | df49fe3 | 2013-12-11 14:21:37 -0800 | [diff] [blame] | 36 | fill_packet |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 37 | TIM6 |
Brian Silverman | 1b6fbd0 | 2013-12-12 18:08:47 -0800 | [diff] [blame] | 38 | |
| 39 | [utilities] |
| 40 | crc |
Brian Silverman | 2df8441 | 2013-12-10 14:00:40 -0800 | [diff] [blame] | 41 | CRC |