avr
Optimising this C (AVR) code
I have an interrupt handler that just isn\'t running fast enough for what I want to do. Basically I\'m using it to generate sine waves by outputting a value from a look up table to a PORT on an AVR mi[详细]
2023-02-24 01:16 分类:问答Best practice for passing primitive data type in C++ function
I\'m writing a function for an avr chip to deserialize a byte stream to primitive types. I\'d like to do it in as generic a way as possible and was wondering what the best practice would be to determi[详细]
2023-02-23 15:15 分类:问答AVRISP MKII doesn't work with AVRDUDE on Linux
The system sees something is plugged in when I plug and unplug it: bluehat@Matapan:/dev$ tail -f /var/log/syslog[详细]
2023-02-19 03:17 分类:问答Connecting peers via USB OTG
my problem is to connect two identical devices with OTG-capable USB interfaces. Is this a simple giveaway or do I have to start and stop host- and device-mode manually with an arbitrary timing pattern[详细]
2023-02-15 23:08 分类:问答Encountering "Launch failed as no binaries could be found"
In AVR32 Studio (2.6) I\'m trying to debug an AVR project and I get the error message \"Launch failed as no binaries could be found\".[详细]
2023-02-14 17:15 分类:问答Atmel AVR Disassembler
Can somebody suggest me any disassembler for At开发者_如何学Cmel AVR 8-bit microcontrollers? There are opensource projects for this?[详细]
2023-02-13 17:01 分类:问答Device descriptor in lufa... What kind of structure is this (inside)? I think it is nothing specific, and only a question to C/C++ programmers
I am using LUFA for a project and after reading some of the examples I saw some of these constructs. Are these m开发者_JAVA技巧acros? I know AVR devices and know that PROGMEM is one? But what is .Head[详细]
2023-02-11 06:05 分类:问答How can I make a user provide its own function in my library?
I am writing a static library for an AVR MCU. I am using avr-gcc and AVR Libc. Some of the library functions use SPI to communicate with a device. However, SPI communication is not done the same way o[详细]
2023-02-09 08:28 分类:问答c/c++ optimize for constant variable in calling functions
C/C++ compilers optimize single layer functions with constant parameters (known at compile time) only when using -Os, -O1 and -O2. They do not optimize all the layers. Only -O3 can do that. gcc is Win[详细]
2023-02-07 10:00 分类:问答How to convert 38bit Byte Array to ASCII Decimal
I am writing a routine and an AVR ATMEGA88 to read FDX RFID tags using the TI TM3705A chip and transmit that over UART to another processor. This chip uses 15625 baud while the other processor will re[详细]
2023-02-05 15:51 分类:问答