blob: 987113e938d5154bc7dff202b5fddfcf1c28c2f7 [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
Brian Silverman95244d82013-12-14 12:15:46 -080014 DMA2.7_IRQ:8
Brian Silvermandf49fe32013-12-11 14:21:37 -080015uart_byte
16 TIM7
Brian Silverman2df84412013-12-10 14:00:40 -080017
18[gyro communication]
Brian Silverman18b01642013-12-13 21:12:25 -080019gyro
20 SPI3
21 SPI3_IRQ:4
Brian Silverman95244d82013-12-14 12:15:46 -080022 TIM13
23 TIM13_IRQ:5 (aka TIM8_UP)
Brian Silverman2df84412013-12-10 14:00:40 -080024
25[ADC communication]
Brian Silverman95244d82013-12-14 12:15:46 -080026analog
27 SPI2
28 SPI2_IRQ:6
29 TIM14
30 TIM14_IRQ:6 (aka TIM8_TRG_COM)
Brian Silverman2df84412013-12-10 14:00:40 -080031
32[encoders]
Brian Silvermandf49fe32013-12-11 14:21:37 -080033encoder
Brian Silverman2df84412013-12-10 14:00:40 -080034 TIM1,TIM2,TIM3,TIM4,TIM5,TIM8
Brian Silverman1b6fbd02013-12-12 18:08:47 -080035 EXTI0,EXTI1,EXTI2,EXTI3
36 EXTI0_IRQ:0,EXTI1_IRQ:0,EXTI2_IRQ:0,EXTI3_IRQ:0
37
Brian Silverman2df84412013-12-10 14:00:40 -080038
39[sensor packet sending]
Brian Silvermandf49fe32013-12-11 14:21:37 -080040fill_packet
Brian Silverman2df84412013-12-10 14:00:40 -080041 TIM6
Brian Silverman1b6fbd02013-12-12 18:08:47 -080042
43[utilities]
44crc
Brian Silverman2df84412013-12-10 14:00:40 -080045 CRC