LTlib LaurTec Library
4.0.3
Open Source C Library for Microchip Microcontrollers based on XC8 Compiler
|
Go to the source code of this file.
Macros | |
#define | IO_LIBRARY_SUPPORTED |
#define | INT_LIBRARY_SUPPORTED |
#define | UART_LIBRARY_SUPPORTED |
#define | SPI_LIBRARY_SUPPORTED |
#define | I2C_LIBRARY_SUPPORTED |
#define | EEPROM_LIBRARY_SUPPORTED |
#define | ADC_LIBRARY_SUPPORTED |
#define | UART_MODULE_TYPE_2 |
#define | SPI_MODULE_TYPE_2 |
#define | I2C_MODULE_TYPE_2 |
#define | ADC_MODULE_TYPE_2 |
#define | NUMBER_OF_IO_PORTS 5 |
#define | ADC_WITH_ANSEL_REG |
#define | PULL_UP_RESISTORS_AVAILABLE |
#define | PULL_UP_ENABLE_BIT INTCON2bits.RBPU |
#define | PULL_UP_SINGLE_BIT_ENABLE |
#define | PULL_UP_ENABLE_REGISTER_B WPUB |
#define | ADC_NUMBER_OF_CHANNELS 28 |
#define | ADC_ENABLE_BIT ADCON0bits.ADON |
#define | ADC_START_CONVERSION_BIT ADCON0bits.GO |
#define | ADC_CHANNEL_SELECTION_REGISTER ADCON0 |
#define | ADC_BUFFER_HIGH ADRESH |
#define | ADC_BUFFER_LOW ADRESL |
#define | ADC_JUSTIFICATION ADCON2bits.ADFM |
#define | ADC_SETTINGS_0 ADCON0 |
#define | ADC_SETTINGS_1 ADCON1 |
#define | ADC_SETTINGS_2 ADCON2 |
#define | ADC_CH0 0x00000001 |
#define | ADC_CH1 0x00000002 |
#define | ADC_CH2 0x00000004 |
#define | ADC_CH3 0x00000008 |
#define | ADC_CH4 0x00000010 |
#define | ADC_CH5 0x00000020 |
#define | ADC_CH6 0x00000040 |
#define | ADC_CH7 0x00000080 |
#define | ADC_CH8 0x00000100 |
#define | ADC_CH9 0x00000200 |
#define | ADC_CH10 0x00000400 |
#define | ADC_CH11 0x00000800 |
#define | ADC_CH12 0x00001000 |
#define | ADC_CH13 0x00002000 |
#define | ADC_CH14 0x00004000 |
#define | ADC_CH15 0x00008000 |
#define | ADC_CH16 0x00010000 |
#define | ADC_CH17 0x00020000 |
#define | ADC_CH18 0x00040000 |
#define | ADC_CH19 0x00080000 |
#define | ADC_CH20 0x00100000 |
#define | ADC_CH21 0x00200000 |
#define | ADC_CH22 0x00400000 |
#define | ADC_CH23 0x00800000 |
#define | ADC_CH24 0x01000000 |
#define | ADC_CH25 0x02000000 |
#define | ADC_CH26 0x04000000 |
#define | ADC_CH27 0x08000000 |
#define ADC_BUFFER_HIGH ADRESH |
Definition at line 93 of file PIC18F46K22_config.h.
#define ADC_BUFFER_LOW ADRESL |
Definition at line 94 of file PIC18F46K22_config.h.
#define ADC_CH0 0x00000001 |
Definition at line 100 of file PIC18F46K22_config.h.
#define ADC_CH1 0x00000002 |
Definition at line 101 of file PIC18F46K22_config.h.
#define ADC_CH10 0x00000400 |
Definition at line 111 of file PIC18F46K22_config.h.
#define ADC_CH11 0x00000800 |
Definition at line 112 of file PIC18F46K22_config.h.
#define ADC_CH12 0x00001000 |
Definition at line 113 of file PIC18F46K22_config.h.
#define ADC_CH13 0x00002000 |
Definition at line 114 of file PIC18F46K22_config.h.
#define ADC_CH14 0x00004000 |
Definition at line 115 of file PIC18F46K22_config.h.
#define ADC_CH15 0x00008000 |
Definition at line 116 of file PIC18F46K22_config.h.
#define ADC_CH16 0x00010000 |
Definition at line 118 of file PIC18F46K22_config.h.
#define ADC_CH17 0x00020000 |
Definition at line 119 of file PIC18F46K22_config.h.
#define ADC_CH18 0x00040000 |
Definition at line 120 of file PIC18F46K22_config.h.
#define ADC_CH19 0x00080000 |
Definition at line 121 of file PIC18F46K22_config.h.
#define ADC_CH2 0x00000004 |
Definition at line 102 of file PIC18F46K22_config.h.
#define ADC_CH20 0x00100000 |
Definition at line 122 of file PIC18F46K22_config.h.
#define ADC_CH21 0x00200000 |
Definition at line 123 of file PIC18F46K22_config.h.
#define ADC_CH22 0x00400000 |
Definition at line 124 of file PIC18F46K22_config.h.
#define ADC_CH23 0x00800000 |
Definition at line 125 of file PIC18F46K22_config.h.
#define ADC_CH24 0x01000000 |
Definition at line 127 of file PIC18F46K22_config.h.
#define ADC_CH25 0x02000000 |
Definition at line 128 of file PIC18F46K22_config.h.
#define ADC_CH26 0x04000000 |
Definition at line 129 of file PIC18F46K22_config.h.
#define ADC_CH27 0x08000000 |
Definition at line 130 of file PIC18F46K22_config.h.
#define ADC_CH3 0x00000008 |
Definition at line 103 of file PIC18F46K22_config.h.
#define ADC_CH4 0x00000010 |
Definition at line 104 of file PIC18F46K22_config.h.
#define ADC_CH5 0x00000020 |
Definition at line 105 of file PIC18F46K22_config.h.
#define ADC_CH6 0x00000040 |
Definition at line 106 of file PIC18F46K22_config.h.
#define ADC_CH7 0x00000080 |
Definition at line 107 of file PIC18F46K22_config.h.
#define ADC_CH8 0x00000100 |
Definition at line 109 of file PIC18F46K22_config.h.
#define ADC_CH9 0x00000200 |
Definition at line 110 of file PIC18F46K22_config.h.
#define ADC_CHANNEL_SELECTION_REGISTER ADCON0 |
Definition at line 92 of file PIC18F46K22_config.h.
#define ADC_ENABLE_BIT ADCON0bits.ADON |
Definition at line 90 of file PIC18F46K22_config.h.
#define ADC_JUSTIFICATION ADCON2bits.ADFM |
Definition at line 95 of file PIC18F46K22_config.h.
#define ADC_LIBRARY_SUPPORTED |
Definition at line 66 of file PIC18F46K22_config.h.
#define ADC_MODULE_TYPE_2 |
Definition at line 75 of file PIC18F46K22_config.h.
#define ADC_NUMBER_OF_CHANNELS 28 |
Definition at line 89 of file PIC18F46K22_config.h.
#define ADC_SETTINGS_0 ADCON0 |
Definition at line 96 of file PIC18F46K22_config.h.
#define ADC_SETTINGS_1 ADCON1 |
Definition at line 97 of file PIC18F46K22_config.h.
#define ADC_SETTINGS_2 ADCON2 |
Definition at line 98 of file PIC18F46K22_config.h.
#define ADC_START_CONVERSION_BIT ADCON0bits.GO |
Definition at line 91 of file PIC18F46K22_config.h.
#define ADC_WITH_ANSEL_REG |
Definition at line 82 of file PIC18F46K22_config.h.
#define EEPROM_LIBRARY_SUPPORTED |
Definition at line 65 of file PIC18F46K22_config.h.
#define I2C_LIBRARY_SUPPORTED |
Definition at line 64 of file PIC18F46K22_config.h.
#define I2C_MODULE_TYPE_2 |
Definition at line 74 of file PIC18F46K22_config.h.
#define INT_LIBRARY_SUPPORTED |
Definition at line 61 of file PIC18F46K22_config.h.
#define IO_LIBRARY_SUPPORTED |
Definition at line 60 of file PIC18F46K22_config.h.
#define NUMBER_OF_IO_PORTS 5 |
Definition at line 81 of file PIC18F46K22_config.h.
#define PULL_UP_ENABLE_BIT INTCON2bits.RBPU |
Definition at line 85 of file PIC18F46K22_config.h.
#define PULL_UP_ENABLE_REGISTER_B WPUB |
Definition at line 87 of file PIC18F46K22_config.h.
#define PULL_UP_RESISTORS_AVAILABLE |
Definition at line 84 of file PIC18F46K22_config.h.
#define PULL_UP_SINGLE_BIT_ENABLE |
Definition at line 86 of file PIC18F46K22_config.h.
#define SPI_LIBRARY_SUPPORTED |
Definition at line 63 of file PIC18F46K22_config.h.
#define SPI_MODULE_TYPE_2 |
Definition at line 73 of file PIC18F46K22_config.h.
#define UART_LIBRARY_SUPPORTED |
Definition at line 62 of file PIC18F46K22_config.h.
#define UART_MODULE_TYPE_2 |
Definition at line 72 of file PIC18F46K22_config.h.