| | timer flags
|
|
The timer flags are cleared by either loading the accumulator with the bits you want cleared and then storing them in the timer flag register, or by using BCLR with a complemented mask. -Dirk "I speak from experience" (28 years ago, 29-Jun-96, to lugnet.robotics.handyboard)
|
|
| | (no subject)
|
|
In regards to the bit manipulations of the timer flags... I concede. At this time I have neither the mental capacity nor the desire to figure out what is correct. After copying the paragraphs earlier, I am only sure that the documents could use some (...) (28 years ago, 29-Jun-96, to lugnet.robotics.handyboard)
|
|
| | Re:
|
|
(...) Lyle, The following provide PLCC-to-breadboard adapters: Amaze Electronics Co. Tel: 1-800-996-2008 Web: www.hooked.net/users/amaze Technological Arts Tel: 1-416-963-8996 Web: www.io.org/~techart You can see their ad on the July 1996 issue of (...) (28 years ago, 29-Jun-96, to lugnet.robotics.handyboard)
|
|
| | Re: your mail
|
|
(...) Very confusing, especially since at the beginning of the same file, there are the lines: * Setup Interrupt for Encoders * LDX #BASE BSET TCTL2,X %00001100 /* Interrupts TIC3,TIC2 rising edge*/ BCLR TFLG1,X %00000010 /* Clear IC3,IC2 Flags */ (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
|
|
| | hb basic questions.
|
|
Well this is my first post and my first look at the handy board. I have a couple of basic questions, sorry if this is maybe asking for the obvious but I didn't find answers to these on the web nor in the archive. Anyway thanks already for all and (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
|
|
| | Easiest way to add two more input and output compares?
|
|
Well, I have ny Handyboard running a little lawnmower around, but I can only feasibly get two PWM signals in for processing and relaying on to the motor drivers. I need two more signals (drive and steering, all I'm doing now is camera pan/tilt) to (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
|
|
| | Re: your mail
|
|
(...) And to add to all the confusion, see page A-15 of the same book, which contradicts what page 10-14 says. I followed he instructions on page 10-14 and it worked. Also remember those odd word-blitz methods of clearing a single bit only seem to (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
|
|
| | (no subject)
|
|
(...) I found this entry in the HC11 handbook, page 10-14. It may help.. "The most common way of clearing a status flag bit in the timer flag registers is to load an accumulator with a mask that has a one in the bit(s) corresponding to the flag(s) (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
|
|
| | BCLR TFLG1,X %11111101?
|
|
In the file encoders.asm, there's a section like: Port1_ShaftInt: LDX variable_port1_shaft_count [stuff deleted] BCLR TFLG1,X %11111101 RTI I'm trying to figure out what the BCLR line does. Why does it clear the bits of all the timers _except_ the (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
|
|
| | Re:
|
|
(...) Lyle, The following provide PLCC-to-breadboard adapters: Amaze Electronics Co. Tel: 1-800-996-2008 Web: www.hooked.net/users/amaze Technological Arts Tel: 1-416-963-8996 Web: www.io.org/~techart You can see their ad on the July 1996 issue of (...) (28 years ago, 27-Jun-96, to lugnet.robotics.handyboard)
|