1 /*******************************************************************
4 h2638_pkt_control.c - fce for TPU operation
6 Copyright (C) 2006 by Petr Kovacik petr_kovacik@gmail.com
8 *******************************************************************/
12 #include "bth_h8s2638.h"
18 * Starts TPU channel 1
20 void bth_start_TPU_counter(void)
28 void bth_stop_TPU_counter(void)
36 void bth_clear_TPU_counter(void)
41 * Returns the number of timer interrupts
43 long int bth_get_timer(void)
49 * Zeroes the timer variable
51 void bth_nul_timer(void)
58 * Timer initialization - HW 1-timer overflow; 2-???Dosazeni citace hodnoty TIER1_TGIEAm
60 void bth_init_pkt_controll(void)