• Asm bit banding macro
    Good day. I try to create asm bit bannding macro. it's only macro and invocation code: MACRO ;macro definition sram_bit_band_set $p1,$p2 LDR R4,=0x22000000+p1*32+4*p2 MOV R5,#1 STR R5,[R4]...
  • Division of 16 bit number
    Using a analog multiplexer through ADC0800, I input 10.2v and 10.2v to 8051, the microcontroller read these voltages as FFh and FFh respectively. My aim is to multiply these voltages and to convert it...
  • 64 Bits integer numbers
    How can we manage a 64 bits integer number to convert it to ASCCII value for LCD display. Does SPRINTF work with 'double' data type reguards.
  • bitband error in cmsis
    please, "--bitband" error when line 114 and line 128 in "cmsis\core_cmInstr.h" were not commented. And it will faster when rebuild if both line 114 and line 128 were commented.
  • __attribute__((bitband)) address miscalculation?
    Hello, I'm using Keil MDK 3.80a on STM32 and trying to use the bitband attribute to access individual bits in a 32bit register. typedef struct { uint32_t a0: 1; uint32_t b0: 1; uint32_t c0...