We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SERIAL_SOFT_LOGIC_NEGATIVE
When SERIAL_SOFT_LOGIC_NEGATIVE is commented out RXD interrupt should be triggered on falling edge instead of rising.
Interruption setting code in config.h
/* RXD Interupt */ #define SERIAL_SOFT_RXD_INIT() do { \ /* pin configuration: input with pull-up */ \ SERIAL_SOFT_RXD_DDR &= ~(1<<SERIAL_SOFT_RXD_BIT); \ SERIAL_SOFT_RXD_PORT |= (1<<SERIAL_SOFT_RXD_BIT); \ /* enable interrupt: INT2(rising edge) */ \ EICRA |= ((1<<ISC21)|(1<<ISC20)); \ EIMSK |= (1<<INT2); \ sei(); \ } while (0)
should be:
EICRA |= ((1<<ISC21)|(0<<ISC20)); \
http://deskthority.net/workshop-f7/sun-usb-conversion-with-arduino-micro-and-tmk-t10779.html#p233452
The text was updated successfully, but these errors were encountered:
sun_usb: Fix serial recv intrrupt trriger edge #228
37af882
No branches or pull requests
When
SERIAL_SOFT_LOGIC_NEGATIVE
is commented out RXD interrupt should be triggered on falling edge instead of rising.Interruption setting code in config.h
should be:
http://deskthority.net/workshop-f7/sun-usb-conversion-with-arduino-micro-and-tmk-t10779.html#p233452
The text was updated successfully, but these errors were encountered: