Better interrupt handling
This commit is contained in:
parent
72fb3a7520
commit
490152d028
@ -151,7 +151,7 @@ for chip in chips.values():
|
|||||||
f.write(f'impl_dma_channel!({channel}, {name}, {ch_num});')
|
f.write(f'impl_dma_channel!({channel}, {name}, {ch_num});')
|
||||||
|
|
||||||
if peri['block'] == 'sdmmc_v2/SDMMC':
|
if peri['block'] == 'sdmmc_v2/SDMMC':
|
||||||
f.write(f'impl_sdmmc!({name}, 0x{peri["address"]:x});')
|
f.write(f'impl_sdmmc!({name});')
|
||||||
for pin, funcs in af.items():
|
for pin, funcs in af.items():
|
||||||
if pin in pins:
|
if pin in pins:
|
||||||
if func := funcs.get(f'{name}_CK'):
|
if func := funcs.get(f'{name}_CK'):
|
||||||
@ -215,7 +215,7 @@ for chip in chips.values():
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {{
|
pub enum InterruptEnum {{
|
||||||
{''.join(irq_variants)}
|
{''.join(irq_variants)}
|
||||||
}}
|
}}
|
||||||
unsafe impl cortex_m::interrupt::InterruptNumber for InterruptEnum {{
|
unsafe impl cortex_m::interrupt::InterruptNumber for InterruptEnum {{
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -209,7 +209,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -217,7 +217,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -217,7 +217,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -217,7 +217,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -217,7 +217,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -146,7 +146,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -146,7 +146,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -146,7 +146,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -146,7 +146,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -139,7 +139,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -139,7 +139,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -237,7 +237,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -237,7 +237,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -237,7 +237,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -237,7 +237,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -237,7 +237,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -237,7 +237,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
DMA1_Stream0 = 11,
|
DMA1_Stream0 = 11,
|
||||||
DMA1_Stream1 = 12,
|
DMA1_Stream1 = 12,
|
||||||
|
@ -196,7 +196,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -196,7 +196,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -226,7 +226,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -226,7 +226,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -299,7 +299,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -299,7 +299,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -299,7 +299,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -299,7 +299,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -285,7 +285,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -285,7 +285,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -287,7 +287,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -285,7 +285,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
AES = 79,
|
AES = 79,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
AES = 79,
|
AES = 79,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
AES = 79,
|
AES = 79,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
AES = 79,
|
AES = 79,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
|
@ -302,7 +302,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
AES = 79,
|
AES = 79,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
|
@ -341,7 +341,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -341,7 +341,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -341,7 +341,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -341,7 +341,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -341,7 +341,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -346,7 +346,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
@ -333,7 +333,7 @@ pub mod interrupt {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
enum InterruptEnum {
|
pub enum InterruptEnum {
|
||||||
ADC = 18,
|
ADC = 18,
|
||||||
CAN1_RX0 = 20,
|
CAN1_RX0 = 20,
|
||||||
CAN1_RX1 = 21,
|
CAN1_RX1 = 21,
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user