blob: bf5518227cde2d0818f409cbd793beca477031c8 [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]
Brian Silverman18b01642013-12-13 21:12:25 -080019gyro
20 SPI3
21 SPI3_IRQ:4
22 TIM10
23 TIM10_IRQ:5 (aka TIM1_UP)
Brian Silverman2df84412013-12-10 14:00:40 -080024
25[ADC communication]
26SPI2
27
28[encoders]
Brian Silvermandf49fe32013-12-11 14:21:37 -080029encoder
Brian Silverman2df84412013-12-10 14:00:40 -080030 TIM1,TIM2,TIM3,TIM4,TIM5,TIM8
Brian Silverman1b6fbd02013-12-12 18:08:47 -080031 EXTI0,EXTI1,EXTI2,EXTI3
32 EXTI0_IRQ:0,EXTI1_IRQ:0,EXTI2_IRQ:0,EXTI3_IRQ:0
33
Brian Silverman2df84412013-12-10 14:00:40 -080034
35[sensor packet sending]
Brian Silvermandf49fe32013-12-11 14:21:37 -080036fill_packet
Brian Silverman2df84412013-12-10 14:00:40 -080037 TIM6
Brian Silverman1b6fbd02013-12-12 18:08:47 -080038
39[utilities]
40crc
Brian Silverman2df84412013-12-10 14:00:40 -080041 CRC