]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/sja1000.h
LinCAN sources go through big white-space cleanup.
[lincan.git] / lincan / include / sja1000.h
index e592acbc9638fdc9cf486fe23397e794b7c5be93..b329e2b30abe93316f7f672a60f524b9699dd37c 100644 (file)
@@ -36,15 +36,15 @@ int sja1000_enable_configuration(struct canchip_t *chip);
 int sja1000_disable_configuration(struct canchip_t *chip);
 int sja1000_chip_config(struct canchip_t *chip);
 int sja1000_standard_mask(struct canchip_t *chip, unsigned short code, unsigned short mask);
-int sja1000_baud_rate(struct canchip_t *chip, int rate, int clock, int sjw, 
+int sja1000_baud_rate(struct canchip_t *chip, int rate, int clock, int sjw,
                                                int sampl_pt, int flags);
 int sja1000_pre_read_config(struct canchip_t *chip, struct msgobj_t *obj);
-int sja1000_pre_write_config(struct canchip_t *chip, struct msgobj_t *obj, 
+int sja1000_pre_write_config(struct canchip_t *chip, struct msgobj_t *obj,
                                                        struct canmsg_t *msg);
-int sja1000_send_msg(struct canchip_t *chip, struct msgobj_t *obj, 
+int sja1000_send_msg(struct canchip_t *chip, struct msgobj_t *obj,
                                                        struct canmsg_t *msg);
 int sja1000_check_tx_stat(struct canchip_t *chip);
-int sja1000_set_btregs(struct canchip_t *chip, unsigned short btr0, 
+int sja1000_set_btregs(struct canchip_t *chip, unsigned short btr0,
                                                        unsigned short btr1);
 int sja1000_start_chip(struct canchip_t *chip);
 int sja1000_stop_chip(struct canchip_t *chip);
@@ -139,7 +139,7 @@ enum sja1000_CDR {
        sjaCDR_CLK_OFF = 1<<3,  // Clock Off
        sjaCDR_RXINPEN = 1<<5,  // TX1 output is RX irq output
        sjaCDR_CBP = 1<<6,      // Input Comparator By-Pass
-       sjaCDR_PELICAN = 1<<7   // PeliCAN Mode 
+       sjaCDR_PELICAN = 1<<7   // PeliCAN Mode
 };
 
 /* Output Control Register */