diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-09 10:47:27 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-09 10:47:27 +0000 |
commit | 791335b6cd6df466afe58c7f6de77442368b3015 (patch) | |
tree | dd8b2f59a96e3244918318775b60510b3b1aec15 /openpcd/firmware/src/picc/tc.h | |
parent | ff32f694fb2a0e2087b82e7903752a615d81ec44 (diff) |
we now only have the tc_fdt part of the TC driver in the PICC section
git-svn-id: https://svn.openpcd.org:2342/trunk@151 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpcd/firmware/src/picc/tc.h')
-rw-r--r-- | openpcd/firmware/src/picc/tc.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/openpcd/firmware/src/picc/tc.h b/openpcd/firmware/src/picc/tc.h index e7aa7e4..e4a2b37 100644 --- a/openpcd/firmware/src/picc/tc.h +++ b/openpcd/firmware/src/picc/tc.h @@ -1,28 +1,11 @@ -#ifndef _TC_H -#define _TC_H +#ifndef _TC_FDT_H +#define _TC_FDT_H #include <sys/types.h> +#include <lib_AT91SAM7.h> -extern void tc_cdiv_phase_add(int16_t inc); -extern void tc_cdiv_set_divider(u_int16_t div); - -static inline void tc_cdiv_phase_inc(void) -{ - tc_cdiv_phase_add(1); -} - -static inline void tc_cdiv_phase_dec(void) -{ - tc_cdiv_phase_add(-1); -} - - -extern void tc_cdiv_print(void); -extern void tc_cdiv_init(void); -extern void tc_cdiv_fini(void); - -#ifdef CONFIG_PICCSIM +extern AT91PS_TCB tcb; +extern void tc_fdt_init(void); extern void tc_fdt_set(u_int16_t count); -#endif #endif |