X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/11132ea490f9e860744ee4f851c67e7fb4444231..a4c9ead4b64bd4de307f375c2ff313a7a07a06e0:/lincan/include/template.h diff --git a/lincan/include/template.h b/lincan/include/template.h index f61e31f..bccf422 100644 --- a/lincan/include/template.h +++ b/lincan/include/template.h @@ -4,7 +4,7 @@ * Rewritten for new CAN queues by Pavel Pisa - OCERA team member * email:pisa@cmp.felk.cvut.cz * This software is released under the GPL-License. - * Version lincan-0.2 9 Jul 2003 + * Version lincan-0.3 17 Jun 2004 */ int template_request_io(struct candevice_t *candev); @@ -13,7 +13,7 @@ int template_reset(struct candevice_t *candev); int template_init_hw_data(struct candevice_t *candev); int template_init_chip_data(struct candevice_t *candev, int chipnr); int template_init_obj_data(struct chip_t *chip, int objnr); -void template_write_register(unsigned char data, unsigned long address); +void template_write_register(unsigned data, unsigned long address); unsigned template_read_register(unsigned long address); int template_program_irq(struct candevice_t *candev);