- Added _ppi and _dppi to distinguish between the new and the old peripheral.
- Removed ConfigurableChannel and added capacity numbers to the channels - Replaced the PPI api with a new one using the DPPI terminology (publish & subscribe) - Updated all tasks and event registers for DPPI
This commit is contained in:
committed by
Dario Nieuwenhuis
parent
01e5376b25
commit
65628e1f15
@ -231,38 +231,38 @@ impl_pin!(P1_13, 1, 13);
|
||||
impl_pin!(P1_14, 1, 14);
|
||||
impl_pin!(P1_15, 1, 15);
|
||||
|
||||
impl_ppi_channel!(PPI_CH0, 0, configurable);
|
||||
impl_ppi_channel!(PPI_CH1, 1, configurable);
|
||||
impl_ppi_channel!(PPI_CH2, 2, configurable);
|
||||
impl_ppi_channel!(PPI_CH3, 3, configurable);
|
||||
impl_ppi_channel!(PPI_CH4, 4, configurable);
|
||||
impl_ppi_channel!(PPI_CH5, 5, configurable);
|
||||
impl_ppi_channel!(PPI_CH6, 6, configurable);
|
||||
impl_ppi_channel!(PPI_CH7, 7, configurable);
|
||||
impl_ppi_channel!(PPI_CH8, 8, configurable);
|
||||
impl_ppi_channel!(PPI_CH9, 9, configurable);
|
||||
impl_ppi_channel!(PPI_CH10, 10, configurable);
|
||||
impl_ppi_channel!(PPI_CH11, 11, configurable);
|
||||
impl_ppi_channel!(PPI_CH12, 12, configurable);
|
||||
impl_ppi_channel!(PPI_CH13, 13, configurable);
|
||||
impl_ppi_channel!(PPI_CH14, 14, configurable);
|
||||
impl_ppi_channel!(PPI_CH15, 15, configurable);
|
||||
impl_ppi_channel!(PPI_CH16, 16, configurable);
|
||||
impl_ppi_channel!(PPI_CH17, 17, configurable);
|
||||
impl_ppi_channel!(PPI_CH18, 18, configurable);
|
||||
impl_ppi_channel!(PPI_CH19, 19, configurable);
|
||||
impl_ppi_channel!(PPI_CH20, 20);
|
||||
impl_ppi_channel!(PPI_CH21, 21);
|
||||
impl_ppi_channel!(PPI_CH22, 22);
|
||||
impl_ppi_channel!(PPI_CH23, 23);
|
||||
impl_ppi_channel!(PPI_CH24, 24);
|
||||
impl_ppi_channel!(PPI_CH25, 25);
|
||||
impl_ppi_channel!(PPI_CH26, 26);
|
||||
impl_ppi_channel!(PPI_CH27, 27);
|
||||
impl_ppi_channel!(PPI_CH28, 28);
|
||||
impl_ppi_channel!(PPI_CH29, 29);
|
||||
impl_ppi_channel!(PPI_CH30, 30);
|
||||
impl_ppi_channel!(PPI_CH31, 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_saadc_input!(P0_02, ANALOGINPUT0);
|
||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
||||
|
Reference in New Issue
Block a user