User Activity

as people told me, i looked on "makefile" vs last version "makefile" to see any change but i couldnt spot one.I did all necessary "#incuded" on top of the class.I'v attached the problematic part:#include "main.h" #include <string.h> #include <stdboo...
#define RAM_Image 0x0300xdata u8 DACT_A _at_ RAM_Image+0x0006;xdata u8 DACT_B _at_ RAM_Image+0x0007;DACT_A = 5;DACT_B =6;when DAC_A and DAC_B are global.
I want to define array [32] at a specific address. This is what I wrote: #define Step 0x8#define MainAddress 0x801F800#define BiasRefInit *(uint64_t *)(MainAddress+ 0*Step)#define InterREGdelVAL100u *(uint64_t *)(MainAddress+ 1*Step)#d...
HAL_GPIO_WritePin(dac_cs_GPIO_Port, dac_cs_Pin, GPIO_PIN_RESET);////Select SPI DAC_Data = (DAC_Data&0x0FFF)<<2 ; uint8_t DAC_Data1= (uint8_t)((DAC_Data>>8)&0x00FF); uint8_t DAC_Data2= (uint8_t)(DAC_Data&0x00FF); HAL_SPI_Transmit(&hspi1,DAC_Da...
for exmple, this is a part of the code:void DAC_AD5621_Write ( uint64_t DAC_Data){ HAL_GPIO_WritePin(dac_cs_GPIO_Port, dac_cs_Pin, GPIO_PIN_RESET);////Select SPI DAC_Data = (DAC_Data&0x0FFF)<<2 ; uint8_t DAC_Data1= (uint8_t)((DAC_Data>>8)&0x00FF); ui...