Made all PPI channels not configurable (even though they are) so they can't use unimplemented features
This commit is contained in:
parent
a8407c8aba
commit
4643727fea
@ -171,22 +171,22 @@ impl_pin!(P0_29, 0, 29);
|
|||||||
impl_pin!(P0_30, 0, 30);
|
impl_pin!(P0_30, 0, 30);
|
||||||
impl_pin!(P0_31, 0, 31);
|
impl_pin!(P0_31, 0, 31);
|
||||||
|
|
||||||
impl_ppi_channel!(PPI_CH0, 0, configurable);
|
impl_ppi_channel!(PPI_CH0, 0);
|
||||||
impl_ppi_channel!(PPI_CH1, 1, configurable);
|
impl_ppi_channel!(PPI_CH1, 1);
|
||||||
impl_ppi_channel!(PPI_CH2, 2, configurable);
|
impl_ppi_channel!(PPI_CH2, 2);
|
||||||
impl_ppi_channel!(PPI_CH3, 3, configurable);
|
impl_ppi_channel!(PPI_CH3, 3);
|
||||||
impl_ppi_channel!(PPI_CH4, 4, configurable);
|
impl_ppi_channel!(PPI_CH4, 4);
|
||||||
impl_ppi_channel!(PPI_CH5, 5, configurable);
|
impl_ppi_channel!(PPI_CH5, 5);
|
||||||
impl_ppi_channel!(PPI_CH6, 6, configurable);
|
impl_ppi_channel!(PPI_CH6, 6);
|
||||||
impl_ppi_channel!(PPI_CH7, 7, configurable);
|
impl_ppi_channel!(PPI_CH7, 7);
|
||||||
impl_ppi_channel!(PPI_CH8, 8, configurable);
|
impl_ppi_channel!(PPI_CH8, 8);
|
||||||
impl_ppi_channel!(PPI_CH9, 9, configurable);
|
impl_ppi_channel!(PPI_CH9, 9);
|
||||||
impl_ppi_channel!(PPI_CH10, 10, configurable);
|
impl_ppi_channel!(PPI_CH10, 10);
|
||||||
impl_ppi_channel!(PPI_CH11, 11, configurable);
|
impl_ppi_channel!(PPI_CH11, 11);
|
||||||
impl_ppi_channel!(PPI_CH12, 12, configurable);
|
impl_ppi_channel!(PPI_CH12, 12);
|
||||||
impl_ppi_channel!(PPI_CH13, 13, configurable);
|
impl_ppi_channel!(PPI_CH13, 13);
|
||||||
impl_ppi_channel!(PPI_CH14, 14, configurable);
|
impl_ppi_channel!(PPI_CH14, 14);
|
||||||
impl_ppi_channel!(PPI_CH15, 15, configurable);
|
impl_ppi_channel!(PPI_CH15, 15);
|
||||||
|
|
||||||
impl_saadc_input!(P0_13, ANALOGINPUT0);
|
impl_saadc_input!(P0_13, ANALOGINPUT0);
|
||||||
impl_saadc_input!(P0_14, ANALOGINPUT1);
|
impl_saadc_input!(P0_14, ANALOGINPUT1);
|
||||||
|
@ -184,7 +184,7 @@ impl<'d, T: Instance> Twim<'d, T> {
|
|||||||
// The PTR field is a full 32 bits wide and accepts the full range
|
// The PTR field is a full 32 bits wide and accepts the full range
|
||||||
// of values.
|
// of values.
|
||||||
w.ptr().bits(buffer.as_mut_ptr() as u32));
|
w.ptr().bits(buffer.as_mut_ptr() as u32));
|
||||||
r.rxd.maxcnt.write(|w|
|
r.rxd.maxcnt.write(|w|
|
||||||
// We're giving it the length of the buffer, so no danger of
|
// We're giving it the length of the buffer, so no danger of
|
||||||
// accessing invalid memory. We have verified that the length of the
|
// accessing invalid memory. We have verified that the length of the
|
||||||
// buffer fits in an `u8`, so the cast to the type of maxcnt
|
// buffer fits in an `u8`, so the cast to the type of maxcnt
|
||||||
|
Loading…
Reference in New Issue
Block a user