LTlib LaurTec Library
4.0.1
Open Source C Library for Microchip Microcontrollers based on XC8 Compiler
|
#include <xc.h>
#include "LTlib.h"
#include "module_IO.h"
#include "module_IO.c"
#include "module_CAN.h"
#include "module_CAN.c"
Go to the source code of this file.
Macros | |
#define | BUTTON_PRESSED 0x00 |
#define | BUTTON1 PORTBbits.RB4 |
#define | BUTTON2 PORTBbits.RB5 |
#define | BUTTON3 PORTBbits.RB6 |
#define | BUTTON4 PORTBbits.RB7 |
Functions | |
int | main (void) |
int main | ( | void | ) |
Definition at line 18 of file main.c.
References BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON_PRESSED, CAN_CONFIG_ALL_VALID_MSG, CAN_CONFIG_DBL_BUFFER_ON, CAN_CONFIG_LINE_FILTER_OFF, CAN_CONFIG_SAMPLE_ONCE, CAN_is_RX_ready(), CAN_is_TX_ready(), CAN_NORMAL_TX_FRAME, CAN_open(), CAN_read_message(), CAN_TX_PRIORITY_2, CAN_TX_XTD_FRAME, CAN_write_message(), CANmessage::data, IO_ALL_PORT_OUTPUT, IO_BIT4, IO_BIT5, IO_BIT6, IO_BIT7, IO_enable_pull_up_resistors(), IO_PORTB, IO_PORTD, IO_set_all_ports_as_inputs(), and IO_set_port_direction().