05.09.2013 Views

2.3 Relaxatie-oscillator

2.3 Relaxatie-oscillator

2.3 Relaxatie-oscillator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

;* case has reached maximum, so now it is reset with value 1 *<br />

;* nothing *<br />

;* initializes port sensctrl and its flag wvmem *<br />

;* initializes syst.variable sigpw with a startup value *<br />

;* enable overflow interrupt timer0 and timer1 *<br />

;* set serial port to 8-bit UART *<br />

;* hi_TH0 & hi_TL0 *<br />

;* initializes timer 0 for the pulse generator. overflow *<br />

;* generates an interrupt to vector 000bh, routed to the *<br />

;* service routine for generating the pulses *<br />

;* nothing *<br />

;* initializes the timer1 for counting the system clock *<br />

;* nothing *<br />

55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!