The name of the set_interrupt_line_config
method is very confusing
#26
Labels
bug
Something isn't working
set_interrupt_line_config
method is very confusing
#26
I have setup a new can instance in loopback mode for FDCAN1 on my stm32h723zgt6. It compiles fine. The transmit in the main loop, however, never seems to trigger the rx interrupt to fire.
I'm including a main.rs for a stm32h7xx-hal build as an example below:
#![no_main]
#![no_std]
use core::{
};
use stm32h7xx_hal::{
};
use stm32h7xx_hal::{
};
use cortex_m_rt::entry;
use fdcan::{
};
#[entry]
fn main() -> ! {
}
fn setup_clocks(rcc: Rcc, pwrcfg: PowerConfiguration, dp_sys_cfg: SYSCFG) -> Ccdr{
}
#[panic_handler]
fn panic_handler(_info: &core::panic::PanicInfo) -> ! {
}
#[interrupt]
fn FDCAN1_IT1()
{
let _never_fired = true;
}
#[interrupt]
fn FDCAN1_IT0()
{
let _never_fired = true;
}
The text was updated successfully, but these errors were encountered: