Freescale Semiconductor
8-Bit Microcontrollers
Register  ·  Sign In  ·  Help
Jump to Page:   1
  Reply  

Problems with TPMC0V
Options    Options  
Danielito
Contributor
Posts: 13
Registered: 2008-02-28


Danielito

Message 1 of 1

Viewed 60 times


I have problems with TPMC0V in 9S08QG8:

 

1)If I do the following: 

 TPMC0V & = 0x0000;
 TPMC0V = 0x001C * b_two - 0x5455B; / * Valor toma TPMC0V la CE. Lineal * /
 
 

TPMC0V not deleted

 

But if I do following:

 

while(TPMC0V != 0)

       {

        TPMC0V&=0x0000;                 /*borro TPMC0V*/

       }

      TPMC0V=0x001C * b_two - 0x5455B

 

TPMC0V clears ????????

 

2) If  I do:

TPMC0V=0x001C * b_two - 0x5455B;/*TPMC0V toma valor de ec. lineal*/ b_three=TPMC0V;/*visualizo el BLS de TPMC0V*/ 

 

b_three  takes no values TPMC0V and I have not view?????

What can I do?

Any suggestion is welcome

Thank

Danielito 

2009-11-03 04:27 PM
Jump to Page:   1