Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hiii
i have some code with structure, enum, fun plz tell me the flow of code
for understanding structure and like other stuff.
enum A_MODE{
A = 0,
B,
C,
D,
E,
};
typedef struct _a_mode
{
unsigned int sen;
unsigned int state;
unsigned int last ;
unsigned int...
hii this my code :
my logic is that i have to read the current sensor data on appropriate dip sw.
for that i define the structure for sensor ,also int Read_sensor_id(int Dip_Switch) for to read sensor data on sw.
but when i complied the err occoured:
Error: L6200E: Symbol infor multiply...
hiii i have some stepper code here but i am confusing the if (Motor_Steps--) statement so help me for understanding this code
BOOL Pulse_Motor(void)
{
if(State)
{
GPIO_PORTE_DATA_R = MOTOR_STEP_OUT;
State = 0;
}
else
{
GPIO_PORTE_DATA_R = 0;
State = 1;
Step_Table_Index++;
}
if (Motor_Steps--)...
TX_Buffer for UART serial
hii
this is about to send the sring to tx buffer but i want to send only one byte .
so any guidence to impliment this...
and the command is like this :(this is only 1 case for better understanding )
case CMD_READ_O_SENSORS: //...>0x10...
hiii,
i want to impliment a serial binaryy protocol for my serial communication.
there are two types of serial protocol format 1)TEXT 2) BINARY.
i am want to use binary type so guide me how to code for it.
and format is 1 byte rx and tx. over serial port.
i knw about text format and about its...
hiiii
i want to calculate the prescaler value for the following
16-bit timers to generate a 1us tick and the controller is running at 50mhz.
i am using LM3S811 stellaris uc. in the datasheet it explain like this ...
but i dnt understand how the Mx time to be calculated....
All values...
hiii
i am new with stepper motor .
so i want some basic information related to timer used for stepper motor application in C.
1)when the timer is overflow? and then what will be the next step.
2) i saw some code ther is milli. and micro. delay function both are used WHY ?
Here is the some code...
we are using ti cortex m3 uc. keil uv 4.03
i want to implement a bootloader so that the bootloader will call the apllication ie my main function.ie bootloader jump on 801 address .
but i was wrote the code for reset_handler (i am usign rvmdk).
i get error like :
call.c(150): error: #1113...
stellaris bootloader in application
I am using STELLARIS LM3S600 on keil uv4.
I want to impliment bootloader in my application.
the starting address of the application is 800.
but how to insert the bootloader code in my application and which part to be include.
Thanx...
hiii,
can any 1 tell me the difference between UART Masked Interrupt Status and UART Raw Interrupt Status reg.
which one exactly implimented in my isr (for serial port) to chek status value of the corresponding interrupt
i am using lm3s600 cortex m3 on kieluv4
thanx
hiiii
i am implimenting an serial port using UART in C ,on CORTEX M3 LM3S600,UV4
SO I WANT TO SEND AN HEX AND DECIMAL FORMATTED DATA TO PORT
HOW TO DO THIS???????
GIVE ME THE IDEA FOR HEX AND DECIMAL IMPLIMENTED IN (FUNCTION) C.
THANX
EMBED_V
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.