September 11th, 2007


Experiments with the ATNGW100 - Part 6

The AT32AP7000 processor has two 16 bit timer/counter units each with three independent channels. TC0 (timer/counter unit 0) is used by the GNU/Linux kernel - so we will not touch it. We shall see how to program the timer/counter unit 1.

Programming the TC

This is off-topic, but I think I should mention it. There ARE a lot of people who can never be motivated. Whatever you do, they simply won't change a bit. Sort of like the Malayalam saying in which a kid tells his uncle: `don't beat me uncle, I will not change'. I have been having a lot of frustration dealing with whole batch full of such students. But there seems to be a ray of hope. The current batch of 3rd sem students seem to be different. I had mentioned something about the `Obfuscated C code contest' in class yesterday and I see one fellow coming up with such a program today! I had asked them to read K&P and I see a few of them actually reading it and even coming and asking doubts! I mention something about `path' in class and I hear one or two guys shouting about `environment variables'. And, wonder of wonders, I see *boys* getting up and coming to class at 6:45 AM so that they can do something before I start my `regular' class at 7:15! Don't know how long this will last ... but I have hopes ...