• Structure with bit field
    Is it possible to assign a structure (in C) with defined bit-fields to a SFR that is not bit addressable to gain bit addressability ?
  • Structure fields & RAM variables on the same address
    I have a structure with various fields. And there are few global variables. The structure fields and the global variables (basically status-flags) denote same information. It doesnt make sense to have...
  • How stored date and time information?
    On STM32F1 I need create a log with storing the EEPROM, any as 30.10.2015 17:30 temp, humidity, xx, xx ,xx 30.10.2015 17:45 temp, humidity, xx, xx ,xx I wonder how to store time information...
  • Defining bit field structure to use sfr P1
    Hi, I want to create a bit field structure for a group of bits associated with 'sfr P1' /* Bit definitions within sfr P1 */ #define NRAMEN (1 << 5) #define A20 (1 << 4) #define A19 (1 << 3) #define...
  • static structure in C keep list of information in memory
    Hello everyone, I would like to know how I can create a static data type structure where the information is always kept in memory even if it calls different functions or executes some other code outside...