Type in the full discussion title or a part of it.
Discussion Title Created date
how to init a pointer in a structure?
Hi, I just got a warning for the way I init a pointer in a structure: typedef struct { avr32_spi_t *spi; } abc; abc i = { .spi = &AVR32_SPI //
Monday, 28 January 2008 - 20:35
what happens if PVR is read in peripheral mode?
hi, just saw this from the GPIO section of datasheet: Quote: Note that due to power saving measures, PVR register can only be read when GPER is set for the corresponding pin or if...
Monday, 28 January 2008 - 14:46
a tiny function naming issue in GPIO of UC3B framework
hi, just saw this function in the GPIO driver of UC3B framework: int gpio_get_gpio_pin_output_value(unsigned int pin) Shouldn't it be better called: int...
Monday, 28 January 2008 - 13:02
problem with mutex of peripheral and interrupt
hi, I'm writing device driver for a SPI peripheral on UC3B and I want to have lock for driver functions which access the SPI interface, and I don't want to disable global...
Saturday, 26 January 2008 - 20:20
timing of the SPI register setting becoming effective
hi, Just wondering about the SPI register settings. When do the new setting become effective? Does it become effective immediately after the register is written (which will...
Saturday, 26 January 2008 - 16:52
what's the standard mutex code for peripheral access?
Hi, just saw the atomic instructions that AVR32 GCC sipport: Quote: int __sync_fetch_and_ (int *ptr, int value) int __sync__and_fetch (int *ptr, int value) bool...
Saturday, 26 January 2008 - 13:35
question about the interrupt behavior of PDCA
hi, just wondering what happens if you set TCR to some value and set TCRR to 0 and then write RCZ in IER to 1 and then enable PDCA? Will it trigger the interrupt immediately? or...
Friday, 25 January 2008 - 18:16
how to automatically add an INT routine when a fun is called
Hi, Just writing my RF device driver now using SPI and PDCA. I want to have a function which starts to send out a packet via SPI by PDCA and also enable the interrupt of its...
Thursday, 24 January 2008 - 21:57
The right sequence of starting PDCA of peripherals in UC3B
Hi, Just wanna ask how to start the PDCA of peripherals? Should I always enable PDCA first and then start peripheral transfer? For example, should I setup the PDCA of SPI and then...
Thursday, 24 January 2008 - 21:19
The GCC trick on optimization for AVR32
Hi, I just found out that if O3 is used as optimization level, then the compiler can optimize a function which has a constant assigned its input, and do static calculation on this...
Wednesday, 23 January 2008 - 13:57
does BITS field setting in CSR0-3 take effect immediately?
hi, Just wanna gain several clks of speed in my SPI interface code, so does the BITS field in CSR0-3 take effect immediately or in the next transfer? Cheng
Wednesday, 23 January 2008 - 12:01
About the issue of functions in the framework
Hi, guys, it looks like that all the simple stuff are done in functions in the framework, even the very simple IO access, can anyone tell me what's main reason for this? Cheng
Friday, 18 January 2008 - 08:58

Pages