blob: b0dac40a34c184aae51dd04d449bc5de232ef79b [file] [log] [blame]
Brian Silverman2df84412013-12-10 14:00:40 -08001This file documents what code is using which peripherial(s), priorities when
2applicable, and which file(s) the code is in. The purpose is to make assigning
3priorities to everything else easier because the relative priorities of
4everything is what matters; the absolute priority is meaningless. It also helps
5with choosing things like timers.
6
7[BBB communication]
Brian Silvermandf49fe32013-12-11 14:21:37 -08008uart_common
9 USART1
10uart
Brian Silverman2df84412013-12-10 14:00:40 -080011 USART1_IRQ:3
Brian Silvermandf49fe32013-12-11 14:21:37 -080012uart_dma
Brian Silverman2df84412013-12-10 14:00:40 -080013 DMA2.7:2
14 DMA2.7_IRQ:6
Brian Silvermandf49fe32013-12-11 14:21:37 -080015uart_byte
16 TIM7
Brian Silverman2df84412013-12-10 14:00:40 -080017
18[gyro communication]
19SPI3
20
21[ADC communication]
22SPI2
23
24[encoders]
Brian Silvermandf49fe32013-12-11 14:21:37 -080025encoder
Brian Silverman2df84412013-12-10 14:00:40 -080026 TIM1,TIM2,TIM3,TIM4,TIM5,TIM8
Brian Silverman1b6fbd02013-12-12 18:08:47 -080027 EXTI0,EXTI1,EXTI2,EXTI3
28 EXTI0_IRQ:0,EXTI1_IRQ:0,EXTI2_IRQ:0,EXTI3_IRQ:0
29
Brian Silverman2df84412013-12-10 14:00:40 -080030
31[sensor packet sending]
Brian Silvermandf49fe32013-12-11 14:21:37 -080032fill_packet
Brian Silverman2df84412013-12-10 14:00:40 -080033 TIM6
Brian Silverman1b6fbd02013-12-12 18:08:47 -080034
35[utilities]
36crc
Brian Silverman2df84412013-12-10 14:00:40 -080037 CRC