Another redo using the feedback.
PPI is now split up into PPI and DPPI under the name 'interconnect'. The tasks and events are tracked and reset in the drop function.
This commit is contained in:
committed by
Dario Nieuwenhuis
parent
e6ec81b999
commit
11655af034
@ -190,38 +190,38 @@ impl_pin!(P0_29, 0, 29);
|
||||
impl_pin!(P0_30, 0, 30);
|
||||
impl_pin!(P0_31, 0, 31);
|
||||
|
||||
impl_ppi_channel!(PPI_CH0, 0, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH1, 1, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH2, 2, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH3, 3, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH4, 4, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH5, 5, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH6, 6, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH7, 7, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH8, 8, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH9, 9, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH10, 10, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH11, 11, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH12, 12, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH13, 13, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH14, 14, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH15, 15, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH16, 16, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH17, 17, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH18, 18, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH19, 19, 2, 1);
|
||||
impl_ppi_channel!(PPI_CH20, 20, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH21, 21, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH22, 22, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH23, 23, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH24, 24, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH25, 25, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH26, 26, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH27, 27, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH28, 28, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH29, 29, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH30, 30, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH31, 31, 1, 0);
|
||||
impl_ppi_channel!(PPI_CH0, 0, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH1, 1, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH2, 2, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH3, 3, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH4, 4, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH5, 5, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH6, 6, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH7, 7, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH8, 8, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH9, 9, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH10, 10, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH11, 11, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH12, 12, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH13, 13, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH14, 14, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH15, 15, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH16, 16, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH17, 17, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH18, 18, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH19, 19, true, 1, 2);
|
||||
impl_ppi_channel!(PPI_CH20, 20, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH21, 21, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH22, 22, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH23, 23, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH24, 24, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH25, 25, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH26, 26, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH27, 27, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH28, 28, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH29, 29, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH30, 30, false, 0, 1);
|
||||
impl_ppi_channel!(PPI_CH31, 31, false, 0, 1);
|
||||
|
||||
impl_saadc_input!(P0_02, ANALOGINPUT0);
|
||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
||||
|
Reference in New Issue
Block a user