• How to divide external Clock Frquency?
    Hi I am generating external clock of 50% duty cycle 100KHz using AT89c52 using timer2.This external clock I am given to clock input of USART 82c51.I need to another clock frequency to set the baud rates...
  • HOW TO DIVIDE INTERNAL ROM USING SCATTER FILE
    I want to divide internal ROM of STM32f030 using scatter file for custom boot loader. When the size of ROM for main application is less then 0x1000 its work properly but when i increase the size from...
  • Divide one word by one byte
    Hello everyone !!! Sorry for my english,i speak french !!! I program with the A51 assembler! I do not manage to make a division of a word by one byte. Somebody would have it a solution to come...
  • Accesing bit addressable variables
    I was wondering what the "best" way to set a bit in a variable declared in the bit addressable area. Originally I declared each bit as an sbit and therefore can set and clear them as follows uint8_t...
  • bitfield index of a bit variable
    Is there a way (macro ?) to get the index of a bitfield variable in a byte ?