Comments (1)
Looking at the code, datasheet and attachInterrupt, I found this works:
dp.EXINT.eicrb.modify(|_, w| w.isc4().bits(INT_CHANGE));
dp.EXINT.eicrb.modify(|_, w| w.isc5().bits(INT_CHANGE));
dp.EXINT.eimsk.modify(|_, w| w.int().bits(1<<4 | 1<<5));
And I also renamed the functions INT0
,INT1
into INT4
,INT5
.
from avr-hal.
Related Issues (20)
- Support Arduino Uno Wifi (rev 2) HOT 1
- Support ATMega644/A
- Can't Compile error E0635 HOT 7
- Hmm, I also found this [Stackoverflow Answer](https://electronics.stackexchange.com/a/390541) which might give a good base: HOT 1
- Linker errors when compiling for ATmega2560 with recent rust compiler (>2022-10-22) HOT 12
- Can't run on Gentoo HOT 9
- could not find `interrupt` in `avr_device` HOT 6
- Support for the ATMega8535 HOT 1
- Any idea why linking with `avr-gcc` fails? HOT 3
- address 0x801468 of `.elf` section '.data' is not within region 'data' HOT 14
- Cannot create expander for ... HOT 7
- Usage of `void` and replacement with `core::convert::Infallible` HOT 3
- Unable to write 0xFF to the eeprom on atmega328p. HOT 1
- Cargo is not applicable to the toolchain HOT 2
- running eeprom example fails on atmega328p HOT 5
- Pin<Input<Floating>, Dynamic> has pullup enabled
- Wokwi support added
- Mutex::borrow: Should it return a &mut T? HOT 2
- Fix UART macro for special implementations in atmega-hal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avr-hal.