diff --git a/html/adc_8c.html b/html/adc_8c.html deleted file mode 100644 index 3785e57..0000000 --- a/html/adc_8c.html +++ /dev/null @@ -1,352 +0,0 @@ - - -
- - - - -
- Solar panel
-
- |
-
Go to the source code of this file.
--Functions | |
void | ADC_Initialize (void) |
void | ADC_SelectChannel (adc_channel_t channel) |
void | ADC_StartConversion (void) |
bool | ADC_IsConversionDone (void) |
adc_result_t | ADC_GetConversionResult (void) |
adc_result_t | ADC_GetConversion (adc_channel_t channel) |
void | ADC_TemperatureAcquisitionDelay (void) |
-Variables | |
void(* | ADC_InterruptHandler )(void) |
adc_result_t ADC_GetConversion | -( | -adc_channel_t | -channel | ) | -- |
@Summary Returns the ADC conversion value also allows selection of a channel for conversion.
-@Description This routine is used to select desired channel for conversion and to get the analog to digital converted value.
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns Returns the converted value.
-@Param Pass in required channel number. "For available channel refer to enum under adc.h file"
-@Example uint16_t convertedValue;
conversion = ADC_GetConversion(AN1_Channel);
adc_result_t ADC_GetConversionResult | -( | -void | -) | -- |
@Summary Returns the ADC conversion value.
-@Description This routine is used to get the analog to digital converted value. This routine gets converted values from the channel specified.
-@Preconditions This routine returns the conversion value only after the conversion is complete. Completion status can be checked using ADC_IsConversionDone() routine.
-@Returns Returns the converted value.
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize(); ADC_StartConversion();
while(ADC_IsConversionDone());
convertedValue = ADC_GetConversionResult();
void ADC_Initialize | -( | -void | -) | -- |
bool ADC_IsConversionDone | -( | -void | -) | -- |
@Summary Returns true when the conversion is completed otherwise false.
-@Description This routine is used to determine if conversion is completed. When conversion is complete routine returns true. It returns false otherwise.
-@Preconditions ADC_Initialize() and ADC_StartConversion(void) function should have been called before calling this function.
-@Returns true - If conversion is complete false - If conversion is not completed
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize(); ADC_StartConversion();
while(!ADC_IsConversionDone()); convertedValue = ADC_GetConversionResult();
void ADC_SelectChannel | -( | -adc_channel_t | -channel | ) | -- |
@Summary Allows selection of a channel for conversion
-@Description This routine is used to select desired channel for conversion. available
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns None
-@Param Pass in required channel number "For available channel refer to enum under adc.h file"
-@Example uint16_t convertedValue;
ADC_Initialize(); ADC_SelectChannel(AN1_Channel); ADC_StartConversion(); convertedValue = ADC_GetConversionResult();
void ADC_StartConversion | -( | -void | -) | -- |
@Summary Starts conversion
-@Description This routine is used to start conversion of desired channel.
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns None
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize();
- ADC_StartConversion(); convertedValue = ADC_GetConversionResult();
void ADC_TemperatureAcquisitionDelay | -( | -void | -) | -- |
@Summary Acquisition Delay for temperature sensor
-@Description This routine should be called when temperature sensor is used.
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns None
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize();
- ADC_StartConversion(); ADC_temperatureAcquisitionDelay(); convertedValue = ADC_GetConversionResult();
void(* ADC_InterruptHandler) (void) | -( | -void | -) | -- |
ADC Generated Driver File
-@Company Microchip Technology Inc.
-@File Name adc.c
-@Summary This is the generated driver implementation file for the ADC driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description This source file provides implementations for driver APIs for ADC. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.02 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files
- - - -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
#include <xc.h>
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
--Classes | |
struct | adc_sync_double_result_t |
-Typedefs | |
typedef uint16_t | adc_result_t |
-Enumerations | |
enum | adc_channel_t { voltage = 0x5 -, current = 0x6 - } |
-Functions | |
void | ADC_Initialize (void) |
void | ADC_SelectChannel (adc_channel_t channel) |
void | ADC_StartConversion (void) |
bool | ADC_IsConversionDone (void) |
adc_result_t | ADC_GetConversionResult (void) |
adc_result_t | ADC_GetConversion (adc_channel_t channel) |
void | ADC_TemperatureAcquisitionDelay (void) |
typedef uint16_t adc_result_t | -
ADC Generated Driver API Header File
-@Company Microchip Technology Inc.
-@File Name adc.h
-@Summary This is the generated header file for the ADC driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description This header file provides APIs for driver for ADC. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.02 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: Data Types Definitions result size of an A/D conversion
- - - -enum adc_channel_t | -
adc_result_t ADC_GetConversion | -( | -adc_channel_t | -channel | ) | -- |
@Summary Returns the ADC conversion value also allows selection of a channel for conversion.
-@Description This routine is used to select desired channel for conversion and to get the analog to digital converted value.
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns Returns the converted value.
-@Param Pass in required channel number. "For available channel refer to enum under adc.h file"
-@Example uint16_t convertedValue;
conversion = ADC_GetConversion(AN1_Channel);
adc_result_t ADC_GetConversionResult | -( | -void | -) | -- |
@Summary Returns the ADC conversion value.
-@Description This routine is used to get the analog to digital converted value. This routine gets converted values from the channel specified.
-@Preconditions This routine returns the conversion value only after the conversion is complete. Completion status can be checked using ADC_IsConversionDone() routine.
-@Returns Returns the converted value.
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize(); ADC_StartConversion();
while(ADC_IsConversionDone());
convertedValue = ADC_GetConversionResult();
void ADC_Initialize | -( | -void | -) | -- |
Section: ADC Module APIs @Summary Initializes the ADC
-@Description This routine initializes the Initializes the ADC. This routine must be called before any other ADC routine is called. This routine should only be called once during system initialization.
-@Preconditions None
-@Param None
-@Returns None
-@Comment
-@Example uint16_t convertedValue;
ADC_Initialize(); convertedValue = ADC_GetConversionResult();
Section: ADC Module APIs
- - - -bool ADC_IsConversionDone | -( | -void | -) | -- |
@Summary Returns true when the conversion is completed otherwise false.
-@Description This routine is used to determine if conversion is completed. When conversion is complete routine returns true. It returns false otherwise.
-@Preconditions ADC_Initialize() and ADC_StartConversion(void) function should have been called before calling this function.
-@Returns true - If conversion is complete false - If conversion is not completed
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize(); ADC_StartConversion();
while(!ADC_IsConversionDone()); convertedValue = ADC_GetConversionResult();
void ADC_SelectChannel | -( | -adc_channel_t | -channel | ) | -- |
@Summary Allows selection of a channel for conversion
-@Description This routine is used to select desired channel for conversion. available
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns None
-@Param Pass in required channel number "For available channel refer to enum under adc.h file"
-@Example uint16_t convertedValue;
ADC_Initialize(); ADC_SelectChannel(AN1_Channel); ADC_StartConversion(); convertedValue = ADC_GetConversionResult();
void ADC_StartConversion | -( | -void | -) | -- |
@Summary Starts conversion
-@Description This routine is used to start conversion of desired channel.
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns None
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize();
- ADC_StartConversion(); convertedValue = ADC_GetConversionResult();
void ADC_TemperatureAcquisitionDelay | -( | -void | -) | -- |
@Summary Acquisition Delay for temperature sensor
-@Description This routine should be called when temperature sensor is used.
-@Preconditions ADC_Initialize() function should have been called before calling this function.
-@Returns None
-@Param None
-@Example uint16_t convertedValue;
ADC_Initialize();
- ADC_StartConversion(); ADC_temperatureAcquisitionDelay(); convertedValue = ADC_GetConversionResult();
- Solar panel
-
- |
-
- Solar panel
-
- |
-
Cadc_sync_double_result_t | |
Ceusart1_status_t | |
Cft5xx6_cfg_t | FT5xx6 Configuration Object |
Cft5xx6_controller_t | FT5xx6 Gesture Items |
Cft5xx6_gest_item_t | FT5xx6 Gesture Item Definition |
Cft5xx6_t | FT5xx6 Context Object |
- Solar panel
-
- |
-
Go to the source code of this file.
--Variables | |
const uint8_t | arialRoundedMTBold18ptBitmaps [] |
const FONT_CHAR_INFO | arialRoundedMTBold18ptDescriptors [] |
const FONT_INFO | arialRoundedMTBold18ptFontInfo |
const uint8_t arialRoundedMTBold18ptBitmaps[] | -
Definition at line 9 of file arialRoundedMTBold18ptBitmaps.c.
- -const FONT_CHAR_INFO arialRoundedMTBold18ptDescriptors[] | -
Definition at line 2579 of file arialRoundedMTBold18ptBitmaps.c.
- -const FONT_INFO arialRoundedMTBold18ptFontInfo | -
Definition at line 2679 of file arialRoundedMTBold18ptBitmaps.c.
- -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
#include "crc.h"
Go to the source code of this file.
--Functions | |
uint16_t | CRC16 (const uint8_t *msg, uint16_t length) |
-Variables | |
const uint8_t | auchCRCHi [] |
const uint8_t | auchCRCLo [] |
uint16_t CRC16 | -( | -const uint8_t * | -msg, | -
- | - | uint16_t | -length | -
- | ) | -- |
const uint8_t auchCRCHi[] | -
\source indirect : http://stackoverflow.com/questions/20878300/calculate-16-bit-crc-in-java-and-append-it-at-the-end-of-the-byte-array
- - - -const uint8_t auchCRCLo[] | -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
CRC calculation for Modbus. -More...
-#include <stdint.h>
Go to the source code of this file.
--Functions | |
uint16_t | CRC16 (const uint8_t *msg, uint16_t length) |
CRC calculation for Modbus.
- -Definition in file crc.h.
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
Go to the source code of this file.
--Macros | |
#define | _XTAL_FREQ 25000000 |
#define _XTAL_FREQ 25000000 | -
@Generated PIC10 / PIC12 / PIC16 / PIC18 MCUs Header File
-@Company: Microchip Technology Inc.
-@File Name: mcc.c
-@Summary: This is the device_config.h file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description: This header file provides implementations for driver APIs for all modules selected in the GUI. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.00 The generated drivers are tested against the following: Compiler : XC8 2.36 and above or later MPLAB : MPLAB X 6.00
- -Definition at line 50 of file device_config.h.
- -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
-Files | |
file | adc.c [code] |
file | adc.h [code] |
file | device_config.c [code] |
file | device_config.h [code] |
file | epwm1.c [code] |
file | epwm1.h [code] |
file | eusart1.c [code] |
file | eusart1.h [code] |
file | interrupt_manager.c [code] |
file | interrupt_manager.h [code] |
file | mcc.c [code] |
file | mcc.h [code] |
file | pin_manager.c [code] |
file | pin_manager.h [code] |
file | tmr0.c [code] |
file | tmr0.h [code] |
file | tmr2.c [code] |
file | tmr2.h [code] |
- Solar panel
-
- |
-
-Files | |
file | adc.p1.d [code] |
file | device_config.p1.d [code] |
file | epwm1.p1.d [code] |
file | eusart1.p1.d [code] |
file | interrupt_manager.p1.d [code] |
file | mcc.p1.d [code] |
file | pin_manager.p1.d [code] |
file | tmr0.p1.d [code] |
file | tmr2.p1.d [code] |
- Solar panel
-
- |
-
-Directories | |
directory | debug |
directory | production |
- Solar panel
-
- |
-
-Directories | |
directory | debug |
directory | production |
- Solar panel
-
- |
-
-Directories | |
directory | default |
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
-Files | |
file | adc.p1.d [code] |
file | device_config.p1.d [code] |
file | epwm1.p1.d [code] |
file | eusart1.p1.d [code] |
file | interrupt_manager.p1.d [code] |
file | mcc.p1.d [code] |
file | pin_manager.p1.d [code] |
file | tmr0.p1.d [code] |
file | tmr2.p1.d [code] |
- Solar panel
-
- |
-
-Directories | |
directory | lcd |
directory | mcc_generated_files |
-Files | |
file | crc.p1.d [code] |
file | main.p1.d [code] |
file | measure.p1.d [code] |
file | modbus.p1.d [code] |
- Solar panel
-
- |
-
- Solar panel
-
- |
-
-Directories | |
directory | default |
- Solar panel
-
- |
-
-Directories | |
directory | lcd |
directory | mcc_generated_files |
-Files | |
file | crc.p1.d [code] |
file | main.p1.d [code] |
file | measure.p1.d [code] |
file | modbus.p1.d [code] |
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
Go to the source code of this file.
--Macros | |
#define | PWM1_INITIALIZE_DUTY_VALUE 511 |
-Functions | |
void | EPWM1_Initialize (void) |
void | EPWM1_LoadDutyValue (uint16_t dutyValue) |
#define PWM1_INITIALIZE_DUTY_VALUE 511 | -
EPWM1 Generated Driver File
-@Company Microchip Technology Inc.
-@File Name epwm1.c
-@Summary This is the generated driver implementation file for the EPWM1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description This source file provides implementations for driver APIs for EPWM1. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.01 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: Macro Declarations
- - - -void EPWM1_Initialize | -( | -void | -) | -- |
void EPWM1_LoadDutyValue | -( | -uint16_t | -dutyValue | ) | -- |
@Summary Loads 16-bit duty cycle.
-@Description This routine loads the 16 bit duty cycle value.
-@Preconditions EPWM1_Initialize() function should have been called before calling this function.
-@Param Pass 16bit duty cycle value.
-@Returns None
-@Example uint16_t dutycycle;
EPWM1_Initialize(); EPWM1_LoadDutyValue(dutycycle);
- Solar panel
-
- |
-
- Solar panel
-
- |
-
#include <xc.h>
#include <stdint.h>
Go to the source code of this file.
--Functions | |
void | EPWM1_Initialize (void) |
void | EPWM1_LoadDutyValue (uint16_t dutyValue) |
void EPWM1_Initialize | -( | -void | -) | -- |
EPWM1 Generated Driver File
-@Company Microchip Technology Inc.
-@File Name epwm1.h
-@Summary This is the generated driver implementation file for the EPWM1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description This header file provides implementations for driver APIs for EPWM1. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.01 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: EPWM Module APIs @Summary Initializes the EPWM1
-@Description This routine initializes the EPWM1 module. This routine must be called before any other EPWM1 routine is called. This routine should only be called once during system initialization.
-@Preconditions None
-@Param None
-@Returns None
-@Comment
-@Example uint16_t dutycycle;
ECCP1_Initialize(); EPWM1_LoadDutyValue(dutycycle);
Section: EPWM Module APIs
- - - -void EPWM1_LoadDutyValue | -( | -uint16_t | -dutyValue | ) | -- |
@Summary Loads 16-bit duty cycle.
-@Description This routine loads the 16 bit duty cycle value.
-@Preconditions EPWM1_Initialize() function should have been called before calling this function.
-@Param Pass 16bit duty cycle value.
-@Returns None
-@Example uint16_t dutycycle;
EPWM1_Initialize(); EPWM1_LoadDutyValue(dutycycle);
- Solar panel
-
- |
-
- Solar panel
-
- |
-
#include "eusart1.h"
Go to the source code of this file.
--Macros | |
#define | EUSART1_TX_BUFFER_SIZE 8 |
#define | EUSART1_RX_BUFFER_SIZE 8 |
-Functions | |
void | EUSART1_DefaultFramingErrorHandler (void) |
void | EUSART1_DefaultOverrunErrorHandler (void) |
void | EUSART1_DefaultErrorHandler (void) |
void | EUSART1_Initialize (void) |
bool | EUSART1_is_tx_ready (void) |
bool | EUSART1_is_rx_ready (void) |
bool | EUSART1_is_tx_done (void) |
eusart1_status_t | EUSART1_get_last_status (void) |
uint8_t | EUSART1_Read (void) |
void | EUSART1_Write (uint8_t txData) |
void | EUSART1_Receive_ISR (void) |
void | EUSART1_RxDataHandler (void) |
void | EUSART1_SetFramingErrorHandler (void(*interruptHandler)(void)) |
void | EUSART1_SetOverrunErrorHandler (void(*interruptHandler)(void)) |
void | EUSART1_SetErrorHandler (void(*interruptHandler)(void)) |
void | EUSART1_SetRxInterruptHandler (void(*interruptHandler)(void)) |
-Variables | |
volatile uint8_t | eusart1RxHead = 0 |
volatile uint8_t | eusart1RxTail = 0 |
volatile uint8_t | eusart1RxBuffer [EUSART1_RX_BUFFER_SIZE] |
volatile eusart1_status_t | eusart1RxStatusBuffer [EUSART1_RX_BUFFER_SIZE] |
volatile uint8_t | eusart1RxCount |
volatile eusart1_status_t | eusart1RxLastError |
void(* | EUSART1_RxDefaultInterruptHandler )(void) |
void(* | EUSART1_FramingErrorHandler )(void) |
void(* | EUSART1_OverrunErrorHandler )(void) |
void(* | EUSART1_ErrorHandler )(void) |
#define EUSART1_TX_BUFFER_SIZE 8 | -
EUSART1 Generated Driver File
-@Company Microchip Technology Inc.
-@File Name eusart1.c
-@Summary This is the generated driver implementation file for the EUSART1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description This source file provides APIs for EUSART1. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.1.1 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: Macro Declarations
- - - -void EUSART1_DefaultErrorHandler | -( | -void | -) | -- |
void EUSART1_DefaultFramingErrorHandler | -( | -void | -) | -- |
void EUSART1_DefaultOverrunErrorHandler | -( | -void | -) | -- |
eusart1_status_t EUSART1_get_last_status | -( | -void | -) | -- |
@Summary Gets the error status of the last read byte.
-@Description This routine gets the error status of the last read byte.
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. The returned value is only updated after a read is called.
-@Param None
-@Returns the status of the last read byte
-@Example void main(void) { volatile uint8_t rxData; volatile eusart1_status_t rxStatus;
Initialize the device SYSTEM_Initialize();
Enable the Global Interrupts INTERRUPT_GlobalInterruptEnable();
while(1) { Logic to echo received data if(EUSART1_is_rx_ready()) { rxData = EUSART1_Read(); rxStatus = EUSART1_get_last_status(); if(rxStatus.ferr){ LED_0_SetHigh(); } } } }
void EUSART1_Initialize | -( | -void | -) | -- |
@Summary Initialization routine that takes inputs from the EUSART1 GUI.
-@Description This routine initializes the EUSART1 driver. This routine must be called before any other EUSART1 routine is called.
-@Preconditions None
-@Param None
-@Returns None
-@Comment
- - - -bool EUSART1_is_rx_ready | -( | -void | -) | -- |
@Summary Checks if the EUSART1 receiver ready for reading
-@Description This routine checks if EUSART1 receiver has received data and ready to be read
-@Preconditions EUSART1_Initialize() function should be called before calling this function EUSART1 receiver should be enabled before calling this function
-@Param None
-@Returns Status of EUSART1 receiver TRUE: EUSART1 receiver is ready for reading FALSE: EUSART1 receiver is not ready for reading
-@Example void main(void) { volatile uint8_t rxData;
Initialize the device SYSTEM_Initialize();
while(1) { Logic to echo received data if(EUSART1_is_rx_ready()) { rxData = UART1_Read(); if(EUSART1_is_tx_ready()) { EUSART1_Write(rxData); } } } }
bool EUSART1_is_tx_done | -( | -void | -) | -- |
@Summary Checks if EUSART1 data is transmitted
-@Description This function return the status of transmit shift register
-@Preconditions EUSART1_Initialize() function should be called before calling this function EUSART1 transmitter should be enabled and EUSART1_Write should be called before calling this function
-@Param None
-@Returns Status of EUSART1 receiver TRUE: Data completely shifted out if the USART shift register FALSE: Data is not completely shifted out of the shift register
-@Example void main(void) { volatile uint8_t rxData;
Initialize the device SYSTEM_Initialize();
while(1) { if(EUSART1_is_tx_ready()) { LED_0_SetHigh(); EUSART1Write(rxData); } if(EUSART1_is_tx_done() { LED_0_SetLow(); } } }
bool EUSART1_is_tx_ready | -( | -void | -) | -- |
@Summary Checks if the EUSART1 transmitter is ready to transmit data
-@Description This routine checks if EUSART1 transmitter is ready to accept and transmit data byte
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. EUSART1 transmitter should be enabled before calling this function
-@Param None
-@Returns Status of EUSART1 transmitter TRUE: EUSART1 transmitter is ready FALSE: EUSART1 transmitter is not ready
-@Example void main(void) { volatile uint8_t rxData;
Initialize the device SYSTEM_Initialize();
while(1) { Logic to echo received data if(EUSART1_is_rx_ready()) { rxData = UART1_Read(); if(EUSART1_is_tx_ready()) { EUSART1Write(rxData); } } } }
uint8_t EUSART1_Read | -( | -void | -) | -- |
@Summary Read a byte of data from the EUSART1.
-@Description This routine reads a byte of data from the EUSART1.
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. The transfer status should be checked to see if the receiver is not empty before calling this function.
-@Param None
-@Returns A data byte received by the driver.
- - - -void EUSART1_Receive_ISR | -( | -void | -) | -- |
@Summary Maintains the driver's receiver state machine and implements its ISR
-@Description This routine is used to maintain the driver's internal receiver state machine.This interrupt service routine is called when the state of the receiver needs to be maintained in a non polled manner.
-@Preconditions EUSART1_Initialize() function should have been called for the ISR to execute correctly.
-@Param None
-@Returns None
- - - -void EUSART1_RxDataHandler | -( | -void | -) | -- |
@Summary Maintains the driver's receiver state machine
-@Description This routine is called by the receive state routine and is used to maintain the driver's internal receiver state machine. It should be called by a custom ISR to maintain normal behavior
-@Preconditions EUSART1_Initialize() function should have been called for the ISR to execute correctly.
-@Param None
-@Returns None
- - - -void EUSART1_SetErrorHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
void EUSART1_SetFramingErrorHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
@Summary Set EUSART1 Framing Error Handler
-@Description This API sets the function to be called upon EUSART1 framing error
-@Preconditions Initialize the EUSART1 before calling this API
-@Param Address of function to be set as framing error handler
-@Returns None
- - - -void EUSART1_SetOverrunErrorHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
@Summary Set EUSART1 Overrun Error Handler
-@Description This API sets the function to be called upon EUSART1 overrun error
-@Preconditions Initialize the EUSART1 module before calling this API
-@Param Address of function to be set as overrun error handler
-@Returns None
- - - -void EUSART1_SetRxInterruptHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
@Summary Sets the receive handler function to be called by the interrupt service
-@Description Calling this function will set a new custom function that will be called when the receive interrupt needs servicing.
-@Preconditions EUSART1_Initialize() function should have been called for the ISR to execute correctly.
-@Param A pointer to the new function
-@Returns None
- - - -void EUSART1_Write | -( | -uint8_t | -txData | ) | -- |
@Summary Writes a byte of data to the EUSART1.
-@Description This routine writes a byte of data to the EUSART1.
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. The transfer status should be checked to see if transmitter is not busy before calling this function.
-@Param txData - Data byte to write to the EUSART1
-@Returns None
- - - -void(* EUSART1_ErrorHandler) (void) | -( | -void | -) | -- |
void(* EUSART1_FramingErrorHandler) (void) | -( | -void | -) | -- |
void(* EUSART1_OverrunErrorHandler) (void) | -( | -void | -) | -- |
void(* EUSART1_RxDefaultInterruptHandler) (void) | -( | -void | -) | -- |
volatile uint8_t eusart1RxBuffer[EUSART1_RX_BUFFER_SIZE] | -
volatile uint8_t eusart1RxHead = 0 | -
volatile eusart1_status_t eusart1RxLastError | -
volatile eusart1_status_t eusart1RxStatusBuffer[EUSART1_RX_BUFFER_SIZE] | -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
#include <xc.h>
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
--Classes | |
union | eusart1_status_t |
-Macros | |
#define | EUSART1_DataReady (EUSART1_is_rx_ready()) |
-Functions | |
void | EUSART1_Initialize (void) |
bool | EUSART1_is_tx_ready (void) |
bool | EUSART1_is_rx_ready (void) |
bool | EUSART1_is_tx_done (void) |
eusart1_status_t | EUSART1_get_last_status (void) |
uint8_t | EUSART1_Read (void) |
void | EUSART1_Write (uint8_t txData) |
void | EUSART1_Receive_ISR (void) |
void | EUSART1_RxDataHandler (void) |
void | EUSART1_SetFramingErrorHandler (void(*interruptHandler)(void)) |
void | EUSART1_SetOverrunErrorHandler (void(*interruptHandler)(void)) |
void | EUSART1_SetErrorHandler (void(*interruptHandler)(void)) |
void | EUSART1_SetRxInterruptHandler (void(*interruptHandler)(void)) |
-Variables | |
volatile uint8_t | eusart1TxBufferRemaining |
volatile uint8_t | eusart1RxCount |
void(* | EUSART1_RxDefaultInterruptHandler )(void) |
#define EUSART1_DataReady (EUSART1_is_rx_ready()) | -
EUSART1 Generated Driver API Header File
-@Company Microchip Technology Inc.
-@File Name eusart1.h
-@Summary This is the generated header file for the EUSART1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description This header file provides APIs for driver for EUSART1. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.1.1 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: Macro Declarations
- - - -eusart1_status_t EUSART1_get_last_status | -( | -void | -) | -- |
@Summary Gets the error status of the last read byte.
-@Description This routine gets the error status of the last read byte.
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. The returned value is only updated after a read is called.
-@Param None
-@Returns the status of the last read byte
-@Example void main(void) { volatile uint8_t rxData; volatile eusart1_status_t rxStatus;
Initialize the device SYSTEM_Initialize();
Enable the Global Interrupts INTERRUPT_GlobalInterruptEnable();
while(1) { Logic to echo received data if(EUSART1_is_rx_ready()) { rxData = EUSART1_Read(); rxStatus = EUSART1_get_last_status(); if(rxStatus.ferr){ LED_0_SetHigh(); } } } }
void EUSART1_Initialize | -( | -void | -) | -- |
@Summary Initialization routine that takes inputs from the EUSART1 GUI.
-@Description This routine initializes the EUSART1 driver. This routine must be called before any other EUSART1 routine is called.
-@Preconditions None
-@Param None
-@Returns None
-@Comment
- - - -bool EUSART1_is_rx_ready | -( | -void | -) | -- |
@Summary Checks if the EUSART1 receiver ready for reading
-@Description This routine checks if EUSART1 receiver has received data and ready to be read
-@Preconditions EUSART1_Initialize() function should be called before calling this function EUSART1 receiver should be enabled before calling this function
-@Param None
-@Returns Status of EUSART1 receiver TRUE: EUSART1 receiver is ready for reading FALSE: EUSART1 receiver is not ready for reading
-@Example void main(void) { volatile uint8_t rxData;
Initialize the device SYSTEM_Initialize();
while(1) { Logic to echo received data if(EUSART1_is_rx_ready()) { rxData = UART1_Read(); if(EUSART1_is_tx_ready()) { EUSART1_Write(rxData); } } } }
bool EUSART1_is_tx_done | -( | -void | -) | -- |
@Summary Checks if EUSART1 data is transmitted
-@Description This function return the status of transmit shift register
-@Preconditions EUSART1_Initialize() function should be called before calling this function EUSART1 transmitter should be enabled and EUSART1_Write should be called before calling this function
-@Param None
-@Returns Status of EUSART1 receiver TRUE: Data completely shifted out if the USART shift register FALSE: Data is not completely shifted out of the shift register
-@Example void main(void) { volatile uint8_t rxData;
Initialize the device SYSTEM_Initialize();
while(1) { if(EUSART1_is_tx_ready()) { LED_0_SetHigh(); EUSART1Write(rxData); } if(EUSART1_is_tx_done() { LED_0_SetLow(); } } }
bool EUSART1_is_tx_ready | -( | -void | -) | -- |
@Summary Checks if the EUSART1 transmitter is ready to transmit data
-@Description This routine checks if EUSART1 transmitter is ready to accept and transmit data byte
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. EUSART1 transmitter should be enabled before calling this function
-@Param None
-@Returns Status of EUSART1 transmitter TRUE: EUSART1 transmitter is ready FALSE: EUSART1 transmitter is not ready
-@Example void main(void) { volatile uint8_t rxData;
Initialize the device SYSTEM_Initialize();
while(1) { Logic to echo received data if(EUSART1_is_rx_ready()) { rxData = UART1_Read(); if(EUSART1_is_tx_ready()) { EUSART1Write(rxData); } } } }
uint8_t EUSART1_Read | -( | -void | -) | -- |
@Summary Read a byte of data from the EUSART1.
-@Description This routine reads a byte of data from the EUSART1.
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. The transfer status should be checked to see if the receiver is not empty before calling this function.
-@Param None
-@Returns A data byte received by the driver.
- - - -void EUSART1_Receive_ISR | -( | -void | -) | -- |
@Summary Maintains the driver's receiver state machine and implements its ISR
-@Description This routine is used to maintain the driver's internal receiver state machine.This interrupt service routine is called when the state of the receiver needs to be maintained in a non polled manner.
-@Preconditions EUSART1_Initialize() function should have been called for the ISR to execute correctly.
-@Param None
-@Returns None
- - - -void EUSART1_RxDataHandler | -( | -void | -) | -- |
@Summary Maintains the driver's receiver state machine
-@Description This routine is called by the receive state routine and is used to maintain the driver's internal receiver state machine. It should be called by a custom ISR to maintain normal behavior
-@Preconditions EUSART1_Initialize() function should have been called for the ISR to execute correctly.
-@Param None
-@Returns None
- - - -void EUSART1_SetErrorHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
void EUSART1_SetFramingErrorHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
@Summary Set EUSART1 Framing Error Handler
-@Description This API sets the function to be called upon EUSART1 framing error
-@Preconditions Initialize the EUSART1 before calling this API
-@Param Address of function to be set as framing error handler
-@Returns None
- - - -void EUSART1_SetOverrunErrorHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
@Summary Set EUSART1 Overrun Error Handler
-@Description This API sets the function to be called upon EUSART1 overrun error
-@Preconditions Initialize the EUSART1 module before calling this API
-@Param Address of function to be set as overrun error handler
-@Returns None
- - - -void EUSART1_SetRxInterruptHandler | -( | -void(*)(void) | -interruptHandler | ) | -- |
@Summary Sets the receive handler function to be called by the interrupt service
-@Description Calling this function will set a new custom function that will be called when the receive interrupt needs servicing.
-@Preconditions EUSART1_Initialize() function should have been called for the ISR to execute correctly.
-@Param A pointer to the new function
-@Returns None
- - - -void EUSART1_Write | -( | -uint8_t | -txData | ) | -- |
@Summary Writes a byte of data to the EUSART1.
-@Description This routine writes a byte of data to the EUSART1.
-@Preconditions EUSART1_Initialize() function should have been called before calling this function. The transfer status should be checked to see if transmitter is not busy before calling this function.
-@Param txData - Data byte to write to the EUSART1
-@Returns None
- - - -
-
|
- -extern | -
-
|
- -extern | -
-
|
- -extern | -
Section: Global variables
- -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
▼ lcd | |
arialRoundedMTBold18ptBitmaps.c | |
ft5xx6.c | FT5xx6 Touch Controller Driver |
ft5xx6.h | FT5xx6 Touch Controller Driver |
lcd.c | |
lcd.h | |
ssd1963_cmd.h | SSD1963 Display Controller Commands |
▼ mcc_generated_files | |
adc.c | |
adc.h | |
device_config.c | |
device_config.h | |
epwm1.c | |
epwm1.h | |
eusart1.c | |
eusart1.h | |
interrupt_manager.c | |
interrupt_manager.h | |
mcc.c | |
mcc.h | |
pin_manager.c | |
pin_manager.h | |
tmr0.c | |
tmr0.h | |
tmr2.c | |
tmr2.h | |
crc.c | |
crc.h | CRC calculation for Modbus |
main.c | Main is in two part. First for setup everything Second for loop on measure and set duty cycle for PWM |
measure.c | |
measure.h | Measuring current and voltage from the solar panel |
modbus.c | |
modbus.h | Modbus serial library |
- Solar panel
-
- |
-
FT5xx6 Touch Controller Driver. -More...
- -Go to the source code of this file.
--Functions | |
void | ft5xx6_cfg_setup (ft5xx6_cfg_t *cfg, const ft5xx6_controller_t *controller) |
FT5xx6 Configuration Object Setup Function. | |
tp_err_t | ft5xx6_init (ft5xx6_t *ctx, ft5xx6_cfg_t *cfg, tp_drv_t *drv) |
FT5xx6 Initialization Function. | |
void | ft5xx6_default_cfg (ft5xx6_t *ctx) |
FT5xx6 Default Configuration Function. | |
void | ft5xx6_generic_write (ft5xx6_t *ctx, uint8_t reg_addr, uint8_t data_in) |
FT5xx6 Generic Write Function. | |
uint8_t | ft5xx6_generic_read_single (ft5xx6_t *ctx, uint8_t reg_addr) |
FT5xx6 Generic Single Read Function. | |
tp_err_t | ft5xx6_generic_read_multiple (ft5xx6_t *ctx, uint8_t reg_addr, uint8_t *data_out, uint16_t n_bytes) |
FT5xx6 Generic Multiple Read Function. | |
void | ft5xx6_dev_mode_setup (ft5xx6_t *ctx, ft5xx6_dev_mode_t mode) |
FT5xx6 Device Mode Setup Function. | |
void | ft5xx6_run_mode_setup (ft5xx6_t *ctx, ft5xx6_run_mode_t mode) |
FT5xx6 Run Mode Setup Function. | |
tp_event_t | ft5xx6_press_detect (ft5xx6_t *ctx) |
FT5xx6 Touch Pressure Detect Function. | |
void | ft5xx6_press_coordinates (ft5xx6_t *ctx, tp_touch_item_t *touch_item) |
FT5xx6 Pressure Coordinates Check Function. | |
void | ft5xx6_gesture (ft5xx6_t *ctx, tp_event_t *event) |
FT5xx6 Gesture Check Function. | |
tp_err_t | ft5xx6_process (ft5xx6_t *ctx) |
FT5xx6 Process Function. | |
-Variables | |
const ft5xx6_controller_t | FT5X06_CONTROLLER |
FT5xx6 Events Definition. | |
const ft5xx6_controller_t | FT5X16_CONTROLLER |
FT5x16 Touch Controllers Descriptor. | |
const ft5xx6_controller_t | FT5X26_CONTROLLER |
FT5x26 Touch Controllers Descriptor. | |
const ft5xx6_controller_t | FT5X46_CONTROLLER |
FT5x46 Touch Controllers Descriptor. | |
FT5xx6 Touch Controller Driver.
- -Definition in file ft5xx6.c.
-const ft5xx6_controller_t FT5X06_CONTROLLER | -
FT5xx6 Events Definition.
-FT5x06 Touch Controllers Descriptor.
-Events code definition depending on the family of touch controller.
- - - -const ft5xx6_controller_t FT5X16_CONTROLLER | -
FT5x16 Touch Controllers Descriptor.
-Specified descriptor that describe events of the gesture for each controller from FT5x16 series touch controllers.
- - - -const ft5xx6_controller_t FT5X26_CONTROLLER | -
FT5x26 Touch Controllers Descriptor.
-Specified descriptor that describe events of the gesture for each controller from FT5x26 series touch controllers.
- - - -const ft5xx6_controller_t FT5X46_CONTROLLER | -
FT5x46 Touch Controllers Descriptor.
-Specified descriptor that describe events of the gesture for each controller from FT5x46 series touch controllers.
- - - -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
FT5xx6 Touch Controller Driver. -More...
-#include "drv_i2c_master.h"
#include "drv_digital_in.h"
#include "drv_name.h"
#include "tp.h"
Go to the source code of this file.
--Classes | |
struct | ft5xx6_gest_item_t |
FT5xx6 Gesture Item Definition. More... | |
struct | ft5xx6_controller_t |
FT5xx6 Gesture Items. More... | |
struct | ft5xx6_cfg_t |
FT5xx6 Configuration Object. More... | |
struct | ft5xx6_t |
FT5xx6 Context Object. More... | |
-Macros | |
#define | FT5XX6_REG_DEVICE_MODE 0x0 |
FT5xx6 Device Mode Register. | |
#define | FT5XX6_REG_GEST_ID 0x1 |
FT5xx6 Gesture ID Register. | |
#define | FT5XX6_REG_TD_STATUS 0x2 |
FT5xx6 Status Register. | |
#define | FT5XX6_REG_TOUCH1_XH 0x3 |
FT5xx6 Touch1 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH1_XL 0x4 |
FT5xx6 Touch1 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH1_YH 0x5 |
FT5xx6 Touch1 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH1_YL 0x6 |
FT5xx6 Touch1 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH2_XH 0x9 |
FT5xx6 Touch2 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH2_XL 0xA |
FT5xx6 Touch2 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH2_YH 0xB |
FT5xx6 Touch2 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH2_YL 0xC |
FT5xx6 Touch2 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH3_XH 0xF |
FT5xx6 Touch3 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH3_XL 0x10 |
FT5xx6 Touch3 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH3_YH 0x11 |
FT5xx6 Touch3 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH3_YL 0x12 |
FT5xx6 Touch3 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH4_XH 0x15 |
FT5xx6 Touch4 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH4_XL 0x16 |
FT5xx6 Touch4 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH4_YH 0x17 |
FT5xx6 Touch4 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH4_YL 0x18 |
FT5xx6 Touch4 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH5_XH 0x1B |
FT5xx6 Touch5 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH5_XL 0x1C |
FT5xx6 Touch5 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH5_YH 0x1D |
FT5xx6 Touch5 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH5_YL 0x1E |
FT5xx6 Touch5 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH_DET_TH 0x80 |
FT5xx6 Touch Detection Threshold Register. | |
#define | FT5XX6_REG_TOUCH_PEAK_DET_TH 0x81 |
FT5xx6 Touch Peak Detection Threshold Register. | |
#define | FT5XX6_REG_TOUCH_TH_CAL 0x82 |
FT5xx6 Touch Threshold Calibration Register. | |
#define | FT5XX6_REG_TOUCH_TH_WATER 0x83 |
FT5xx6 Touch Threshold Water Register. | |
#define | FT5XX6_REG_TOUCH_TH_TEMP_COMP 0x84 |
FT5xx6 Touch Threshold Temperature Compensation Register. | |
#define | FT5XX6_REG_POWER_CTRL_MODE 0x86 |
FT5xx6 Power Control Register. | |
#define | FT5XX6_REG_MONITOR_STATUS_TMR 0x87 |
FT5xx6 Timer Status Monitor Register. | |
#define | FT5XX6_REG_MONITOR_ACT_PERIOD 0x88 |
FT5xx6 Actual Period Monitor Register. | |
#define | FT5XX6_REG_ENTER_IDLE_TIMER 0x89 |
FT5xx6 Enter Idle Timer Register. | |
#define | FT5XX6_REG_AUTO_CALIB_MODE 0xA0 |
FT5xx6 Auto Calibration Register. | |
#define | FT5XX6_REG_LIB_VERSION_H 0xA1 |
FT5xx6 Version MSB Register. | |
#define | FT5XX6_REG_LIB_VERSION_L 0xA2 |
FT5xx6 Version LSB Register. | |
#define | FT5XX6_REG_LIB_CHIP_VENDOR_ID 0xA3 |
FT5xx6 Chip Vendor ID Register. | |
#define | FT5XX6_REG_IVT_TO_HOST_STATUS 0xA4 |
FT5xx6 IVT To Host Status Register. | |
#define | FT5XX6_REG_POWER_CONSUME_MODE 0xA5 |
FT5xx6 Power Consume Register. | |
#define | FT5XX6_REG_FW_ID 0xA6 |
FT5xx6 FW ID Register. | |
#define | FT5XX6_REG_RUNNING_STATE 0xA7 |
FT5xx6 Running State Register. | |
#define | FT5XX6_REG_CTPM_VENDOR_ID 0xA8 |
FT5xx6 CTPM Vendor ID Register. | |
#define | FT5XX6_REG_ERROR_ID 0xA9 |
FT5xx6 Error ID Register. | |
#define | FT5XX6_REG_CONFIGURE_CAL_MODE 0xAA |
FT5xx6 Calibration Mode Configuration Register. | |
#define | FT5XX6_REG_BIG_AREA_TH 0xAE |
FT5xx6 Big Area Threshold Register. | |
#define | FT5XX6_INT_MODE_POLLING 0 |
FT5xx6 Interrupt Polling Mode Setting. | |
#define | FT5XX6_INT_MODE_TRIGGER 1 |
FT5xx6 Interrupt Trigger Mode Setting. | |
#define | FT5XX6_I2C_ADDR 0x38 |
FT5xx6 Slave Address Setting. | |
#define | FT5XX6_N_DATA_TRANSFER_MIN 1 |
FT5xx6 Data Transfer Limits Setting. | |
#define | FT5XX6_N_DATA_TRANSFER_MAX 256 |
#define | FT5XX6_GESTURE_ITEMS_MAX 7 |
FT5xx6 Gesture Items Limit Setting. | |
#define | FT5XX6_EVENT_PRESS_DET 0x80 |
FT5xx6 Touch Pressure Event. | |
#define | FT5XX6_MASK_PRESS_COORD 0xFFF |
FT5xx6 Touch Coordinates Mask. | |
#define | FT5XX6_MASK_PRESS_EVENT 0xC0 |
FT5xx6 Touch Event Mask. | |
#define | FT5XX6_MASK_PRESS_DET 0xC0 |
FT5xx6 Touch Detection Mask. | |
#define | FT5XX6_MASK_TP_NUM 0xF |
FT5xx6 TP Number Mask. | |
#define | FT5XX6_OFFSET_PRESS_EVENT 6 |
FT5xx6 Touch Event Offset. | |
#define | FT5XX6_OFFSET_PRESS_ID 4 |
FT5xx6 Touch ID Offset. | |
#define | FT5XX6_OFFSET_DEV_MODE 4 |
FT5xx6 Device Mode Offset. | |
#define | FT5XX6_OFFSET_TOUCH_READING 6 |
FT5xx6 Touch Reading Offset. | |
#define | FT5XX6_MAP_PINS(cfg) |
FT5xx6 Pin Mapping. | |
-Enumerations | |
enum | ft5xx6_dev_mode_t { FT5XX6_DEV_MODE_NORMAL -, FT5XX6_DEV_MODE_SYS_INFO -, FT5XX6_DEV_MODE_TEST = 4 - } |
FT5xx6 Device Mode Settings. More... | |
enum | ft5xx6_run_mode_t { - FT5XX6_RUN_MODE_CFG -, FT5XX6_RUN_MODE_WORK -, FT5XX6_RUN_MODE_CAL -, FT5XX6_RUN_MODE_FACT -, - FT5XX6_RUN_MODE_AUTO_CAL - - } |
FT5xx6 Run Mode Settings. More... | |
-Functions | |
void | ft5xx6_cfg_setup (ft5xx6_cfg_t *cfg, const ft5xx6_controller_t *controller) |
FT5xx6 Configuration Object Setup Function. | |
tp_err_t | ft5xx6_init (ft5xx6_t *ctx, ft5xx6_cfg_t *cfg, tp_drv_t *drv) |
FT5xx6 Initialization Function. | |
void | ft5xx6_default_cfg (ft5xx6_t *ctx) |
FT5xx6 Default Configuration Function. | |
void | ft5xx6_generic_write (ft5xx6_t *ctx, uint8_t reg_addr, uint8_t data_in) |
FT5xx6 Generic Write Function. | |
uint8_t | ft5xx6_generic_read_single (ft5xx6_t *ctx, uint8_t reg_addr) |
FT5xx6 Generic Single Read Function. | |
tp_err_t | ft5xx6_generic_read_multiple (ft5xx6_t *ctx, uint8_t reg_addr, uint8_t *data_out, uint16_t n_bytes) |
FT5xx6 Generic Multiple Read Function. | |
void | ft5xx6_dev_mode_setup (ft5xx6_t *ctx, ft5xx6_dev_mode_t mode) |
FT5xx6 Device Mode Setup Function. | |
void | ft5xx6_run_mode_setup (ft5xx6_t *ctx, ft5xx6_run_mode_t mode) |
FT5xx6 Run Mode Setup Function. | |
tp_event_t | ft5xx6_press_detect (ft5xx6_t *ctx) |
FT5xx6 Touch Pressure Detect Function. | |
void | ft5xx6_press_coordinates (ft5xx6_t *ctx, tp_touch_item_t *touch_item) |
FT5xx6 Pressure Coordinates Check Function. | |
void | ft5xx6_gesture (ft5xx6_t *ctx, tp_event_t *event) |
FT5xx6 Gesture Check Function. | |
tp_err_t | ft5xx6_process (ft5xx6_t *ctx) |
FT5xx6 Process Function. | |
-Variables | |
const ft5xx6_controller_t | FT5X06_CONTROLLER |
FT5x06 Touch Controllers Descriptor. | |
const ft5xx6_controller_t | FT5X16_CONTROLLER |
FT5x16 Touch Controllers Descriptor. | |
const ft5xx6_controller_t | FT5X26_CONTROLLER |
FT5x26 Touch Controllers Descriptor. | |
const ft5xx6_controller_t | FT5X46_CONTROLLER |
FT5x46 Touch Controllers Descriptor. | |
FT5xx6 Touch Controller Driver.
- -Definition in file ft5xx6.h.
-enum ft5xx6_dev_mode_t | -
enum ft5xx6_run_mode_t | -
FT5xx6 Run Mode Settings.
-Run mode definition for FT5xx6 series touch controllers.
-
-
|
- -extern | -
FT5x06 Touch Controllers Descriptor.
-Specified descriptor that describe events of the gesture for each controller from FT5x06 series touch controllers.
-FT5x06 Touch Controllers Descriptor.
-Events code definition depending on the family of touch controller.
- - - -
-
|
- -extern | -
-
|
- -extern | -
-
|
- -extern | -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
- Solar panel
-
- |
-
FT5xx6 Touch Controller Driver API Reference. -More...
--Modules | |
FT5xx6 Registers | |
FT5xx6 Registers List. | |
FT5xx6 Settings | |
FT5xx6 Settings List. | |
-Functions | |
void | ft5xx6_cfg_setup (ft5xx6_cfg_t *cfg, const ft5xx6_controller_t *controller) |
FT5xx6 Configuration Object Setup Function. | |
tp_err_t | ft5xx6_init (ft5xx6_t *ctx, ft5xx6_cfg_t *cfg, tp_drv_t *drv) |
FT5xx6 Initialization Function. | |
void | ft5xx6_default_cfg (ft5xx6_t *ctx) |
FT5xx6 Default Configuration Function. | |
void | ft5xx6_generic_write (ft5xx6_t *ctx, uint8_t reg_addr, uint8_t data_in) |
FT5xx6 Generic Write Function. | |
uint8_t | ft5xx6_generic_read_single (ft5xx6_t *ctx, uint8_t reg_addr) |
FT5xx6 Generic Single Read Function. | |
tp_err_t | ft5xx6_generic_read_multiple (ft5xx6_t *ctx, uint8_t reg_addr, uint8_t *data_out, uint16_t n_bytes) |
FT5xx6 Generic Multiple Read Function. | |
void | ft5xx6_dev_mode_setup (ft5xx6_t *ctx, ft5xx6_dev_mode_t mode) |
FT5xx6 Device Mode Setup Function. | |
void | ft5xx6_run_mode_setup (ft5xx6_t *ctx, ft5xx6_run_mode_t mode) |
FT5xx6 Run Mode Setup Function. | |
tp_event_t | ft5xx6_press_detect (ft5xx6_t *ctx) |
FT5xx6 Touch Pressure Detect Function. | |
void | ft5xx6_press_coordinates (ft5xx6_t *ctx, tp_touch_item_t *touch_item) |
FT5xx6 Pressure Coordinates Check Function. | |
void | ft5xx6_gesture (ft5xx6_t *ctx, tp_event_t *event) |
FT5xx6 Gesture Check Function. | |
tp_err_t | ft5xx6_process (ft5xx6_t *ctx) |
FT5xx6 Process Function. | |
FT5xx6 Touch Controller Driver API Reference.
-API for configuring and manipulating FT5xx6 Touch Controller driver.
-void ft5xx6_cfg_setup | -( | -ft5xx6_cfg_t * | -cfg, | -
- | - | const ft5xx6_controller_t * | -controller | -
- | ) | -- |
FT5xx6 Configuration Object Setup Function.
-This function initializes FT5xx6 configuration structure to default values.
[out] | cfg | : FT5xx6 configuration object. See ft5xx6_cfg_t structure definition for detailed explanation. |
[in] | controller | : Touch controller selector from FT5xx6 series touch controllers. See ft5xx6_controller_t structure definition for detailed explanation. |
Example
void ft5xx6_default_cfg | -( | -ft5xx6_t * | -ctx | ) | -- |
FT5xx6 Default Configuration Function.
-This function puts the FT5xx6 touch controller to normal operating mode.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
Example
void ft5xx6_dev_mode_setup | -( | -ft5xx6_t * | -ctx, | -
- | - | ft5xx6_dev_mode_t | -mode | -
- | ) | -- |
FT5xx6 Device Mode Setup Function.
-This function puts the FT5xx6 series touch controllers to the selected device mode.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[in] | mode | : device mode of operation. See ft5xx6_dev_mode_t for valid values. |
Example
tp_err_t ft5xx6_generic_read_multiple | -( | -ft5xx6_t * | -ctx, | -
- | - | uint8_t | -reg_addr, | -
- | - | uint8_t * | -data_out, | -
- | - | uint16_t | -n_bytes | -
- | ) | -- |
FT5xx6 Generic Multiple Read Function.
-This function allows user to read the desired number of data bytes, starting from the selected register address.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[in] | reg_addr | : Register address which from the data reading will be started. |
[out] | data_out | : Memory where read data will be stored. |
[in] | n_bytes | : Number of data bytes to be read. |
0
- OK, 6
- Number of transfered bytes is out of range. See #tp_err_t structure definition for detailed explanation.uint8_t ft5xx6_generic_read_single | -( | -ft5xx6_t * | -ctx, | -
- | - | uint8_t | -reg_addr | -
- | ) | -- |
FT5xx6 Generic Single Read Function.
-This function allows user to read any desired register of the FT5xx6 series touch controllers.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[in] | reg_addr | : Register address which from data be read. |
Example
void ft5xx6_generic_write | -( | -ft5xx6_t * | -ctx, | -
- | - | uint8_t | -reg_addr, | -
- | - | uint8_t | -data_in | -
- | ) | -- |
FT5xx6 Generic Write Function.
-This function allows user to write any 8-bit data to the selected register of the FT5xx6 series touch controllers.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[in] | reg_addr | : Register address where data be written. |
[in] | data_in | : Data to be written. |
Example
void ft5xx6_gesture | -( | -ft5xx6_t * | -ctx, | -
- | - | tp_event_t * | -event | -
- | ) | -- |
FT5xx6 Gesture Check Function.
-This function allows user to get the informations about the gesture (slide direction).
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[out] | event | : Touch panel gesture data. See #tp_event_t structure definition for detailed explanation. |
Example
tp_err_t ft5xx6_init | -( | -ft5xx6_t * | -ctx, | -
- | - | ft5xx6_cfg_t * | -cfg, | -
- | - | tp_drv_t * | -drv | -
- | ) | -- |
FT5xx6 Initialization Function.
-This function initializes FT5xx6 context object to default values and allows driver interface object to be linked with FT5xx6 driver functions.
[out] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[in] | cfg | : FT5xx6 configuration object. See ft5xx6_cfg_t structure definition for detailed explanation. |
[out] | drv | : TP driver interface object. See #tp_drv_t structure definition for detailed explanation. |
0
- OK, 1
- I2C driver init error, 2
- Unsupported pin. See #tp_err_t structure definition for detailed explanation.void ft5xx6_press_coordinates | -( | -ft5xx6_t * | -ctx, | -
- | - | tp_touch_item_t * | -touch_item | -
- | ) | -- |
FT5xx6 Pressure Coordinates Check Function.
-This function allows user to get the informations about the number of pressed touch points, coordinates and touch event for each pressed touch point.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[out] | touch_item | : Touch item data. See #tp_touch_item_t structure definition for detailed explanation. |
Example
tp_event_t ft5xx6_press_detect | -( | -ft5xx6_t * | -ctx | ) | -- |
FT5xx6 Touch Pressure Detect Function.
-This function allows the touch pressure detection.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
3
- Touch pressure is not detected, 4
- Touch pressure is detected. See #tp_event_t structure definition for detailed explanation. Example
tp_err_t ft5xx6_process | -( | -ft5xx6_t * | -ctx | ) | -- |
FT5xx6 Process Function.
-This function detects a touch pressure, and if any touch pressure was detected, then collects all informations about the pressed touch and slide direction (gesture).
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
0
- OK, 5
- Number of pressed touches is out of range. See #tp_err_t structure definition for detailed explanation. Example
void ft5xx6_run_mode_setup | -( | -ft5xx6_t * | -ctx, | -
- | - | ft5xx6_run_mode_t | -mode | -
- | ) | -- |
FT5xx6 Run Mode Setup Function.
-This function puts the FT5xx6 series touch controllers to the selected run mode.
[in] | ctx | : FT5xx6 context object. See ft5xx6_t structure definition for detailed explanation. |
[in] | mode | : run mode of operation. See ft5xx6_run_mode_t for valid values. |
Example
- Solar panel
-
- |
-
FT5xx6 Masks List. -More...
--Macros | |
#define | FT5XX6_MASK_PRESS_COORD 0xFFF |
FT5xx6 Touch Coordinates Mask. | |
#define | FT5XX6_MASK_PRESS_EVENT 0xC0 |
FT5xx6 Touch Event Mask. | |
#define | FT5XX6_MASK_PRESS_DET 0xC0 |
FT5xx6 Touch Detection Mask. | |
#define | FT5XX6_MASK_TP_NUM 0xF |
FT5xx6 TP Number Mask. | |
FT5xx6 Masks List.
-FT5xx6 masks description with respective values.
-#define FT5XX6_MASK_PRESS_COORD 0xFFF | -
#define FT5XX6_MASK_PRESS_DET 0xC0 | -
#define FT5XX6_MASK_PRESS_EVENT 0xC0 | -
- Solar panel
-
- |
-
FT5xx6 Offsets List. -More...
--Macros | |
#define | FT5XX6_OFFSET_PRESS_EVENT 6 |
FT5xx6 Touch Event Offset. | |
#define | FT5XX6_OFFSET_PRESS_ID 4 |
FT5xx6 Touch ID Offset. | |
#define | FT5XX6_OFFSET_DEV_MODE 4 |
FT5xx6 Device Mode Offset. | |
#define | FT5XX6_OFFSET_TOUCH_READING 6 |
FT5xx6 Touch Reading Offset. | |
FT5xx6 Offsets List.
-FT5xx6 offsets description with respective values.
-#define FT5XX6_OFFSET_DEV_MODE 4 | -
#define FT5XX6_OFFSET_PRESS_EVENT 6 | -
#define FT5XX6_OFFSET_PRESS_ID 4 | -
- Solar panel
-
- |
-
FT5xx6 Registers List. -More...
--Macros | |
#define | FT5XX6_REG_DEVICE_MODE 0x0 |
FT5xx6 Device Mode Register. | |
#define | FT5XX6_REG_GEST_ID 0x1 |
FT5xx6 Gesture ID Register. | |
#define | FT5XX6_REG_TD_STATUS 0x2 |
FT5xx6 Status Register. | |
#define | FT5XX6_REG_TOUCH1_XH 0x3 |
FT5xx6 Touch1 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH1_XL 0x4 |
FT5xx6 Touch1 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH1_YH 0x5 |
FT5xx6 Touch1 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH1_YL 0x6 |
FT5xx6 Touch1 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH2_XH 0x9 |
FT5xx6 Touch2 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH2_XL 0xA |
FT5xx6 Touch2 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH2_YH 0xB |
FT5xx6 Touch2 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH2_YL 0xC |
FT5xx6 Touch2 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH3_XH 0xF |
FT5xx6 Touch3 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH3_XL 0x10 |
FT5xx6 Touch3 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH3_YH 0x11 |
FT5xx6 Touch3 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH3_YL 0x12 |
FT5xx6 Touch3 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH4_XH 0x15 |
FT5xx6 Touch4 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH4_XL 0x16 |
FT5xx6 Touch4 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH4_YH 0x17 |
FT5xx6 Touch4 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH4_YL 0x18 |
FT5xx6 Touch4 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH5_XH 0x1B |
FT5xx6 Touch5 X-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH5_XL 0x1C |
FT5xx6 Touch5 X-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH5_YH 0x1D |
FT5xx6 Touch5 Y-coord MSB Register. | |
#define | FT5XX6_REG_TOUCH5_YL 0x1E |
FT5xx6 Touch5 Y-coord LSB Register. | |
#define | FT5XX6_REG_TOUCH_DET_TH 0x80 |
FT5xx6 Touch Detection Threshold Register. | |
#define | FT5XX6_REG_TOUCH_PEAK_DET_TH 0x81 |
FT5xx6 Touch Peak Detection Threshold Register. | |
#define | FT5XX6_REG_TOUCH_TH_CAL 0x82 |
FT5xx6 Touch Threshold Calibration Register. | |
#define | FT5XX6_REG_TOUCH_TH_WATER 0x83 |
FT5xx6 Touch Threshold Water Register. | |
#define | FT5XX6_REG_TOUCH_TH_TEMP_COMP 0x84 |
FT5xx6 Touch Threshold Temperature Compensation Register. | |
#define | FT5XX6_REG_POWER_CTRL_MODE 0x86 |
FT5xx6 Power Control Register. | |
#define | FT5XX6_REG_MONITOR_STATUS_TMR 0x87 |
FT5xx6 Timer Status Monitor Register. | |
#define | FT5XX6_REG_MONITOR_ACT_PERIOD 0x88 |
FT5xx6 Actual Period Monitor Register. | |
#define | FT5XX6_REG_ENTER_IDLE_TIMER 0x89 |
FT5xx6 Enter Idle Timer Register. | |
#define | FT5XX6_REG_AUTO_CALIB_MODE 0xA0 |
FT5xx6 Auto Calibration Register. | |
#define | FT5XX6_REG_LIB_VERSION_H 0xA1 |
FT5xx6 Version MSB Register. | |
#define | FT5XX6_REG_LIB_VERSION_L 0xA2 |
FT5xx6 Version LSB Register. | |
#define | FT5XX6_REG_LIB_CHIP_VENDOR_ID 0xA3 |
FT5xx6 Chip Vendor ID Register. | |
#define | FT5XX6_REG_IVT_TO_HOST_STATUS 0xA4 |
FT5xx6 IVT To Host Status Register. | |
#define | FT5XX6_REG_POWER_CONSUME_MODE 0xA5 |
FT5xx6 Power Consume Register. | |
#define | FT5XX6_REG_FW_ID 0xA6 |
FT5xx6 FW ID Register. | |
#define | FT5XX6_REG_RUNNING_STATE 0xA7 |
FT5xx6 Running State Register. | |
#define | FT5XX6_REG_CTPM_VENDOR_ID 0xA8 |
FT5xx6 CTPM Vendor ID Register. | |
#define | FT5XX6_REG_ERROR_ID 0xA9 |
FT5xx6 Error ID Register. | |
#define | FT5XX6_REG_CONFIGURE_CAL_MODE 0xAA |
FT5xx6 Calibration Mode Configuration Register. | |
#define | FT5XX6_REG_BIG_AREA_TH 0xAE |
FT5xx6 Big Area Threshold Register. | |
FT5xx6 Registers List.
-FT5xx6 registers description with respective addresses.
-#define FT5XX6_REG_AUTO_CALIB_MODE 0xA0 | -
#define FT5XX6_REG_BIG_AREA_TH 0xAE | -
#define FT5XX6_REG_CONFIGURE_CAL_MODE 0xAA | -
#define FT5XX6_REG_CTPM_VENDOR_ID 0xA8 | -
#define FT5XX6_REG_DEVICE_MODE 0x0 | -
#define FT5XX6_REG_ENTER_IDLE_TIMER 0x89 | -
#define FT5XX6_REG_ERROR_ID 0xA9 | -
#define FT5XX6_REG_FW_ID 0xA6 | -
#define FT5XX6_REG_GEST_ID 0x1 | -
#define FT5XX6_REG_IVT_TO_HOST_STATUS 0xA4 | -
#define FT5XX6_REG_LIB_CHIP_VENDOR_ID 0xA3 | -
#define FT5XX6_REG_LIB_VERSION_H 0xA1 | -
#define FT5XX6_REG_LIB_VERSION_L 0xA2 | -
#define FT5XX6_REG_MONITOR_ACT_PERIOD 0x88 | -
#define FT5XX6_REG_MONITOR_STATUS_TMR 0x87 | -
#define FT5XX6_REG_POWER_CONSUME_MODE 0xA5 | -
#define FT5XX6_REG_POWER_CTRL_MODE 0x86 | -
#define FT5XX6_REG_RUNNING_STATE 0xA7 | -
#define FT5XX6_REG_TD_STATUS 0x2 | -
#define FT5XX6_REG_TOUCH1_XH 0x3 | -
#define FT5XX6_REG_TOUCH1_XL 0x4 | -
#define FT5XX6_REG_TOUCH1_YH 0x5 | -
#define FT5XX6_REG_TOUCH1_YL 0x6 | -
#define FT5XX6_REG_TOUCH2_XH 0x9 | -
#define FT5XX6_REG_TOUCH2_XL 0xA | -
#define FT5XX6_REG_TOUCH2_YH 0xB | -
#define FT5XX6_REG_TOUCH2_YL 0xC | -
#define FT5XX6_REG_TOUCH3_XH 0xF | -
#define FT5XX6_REG_TOUCH3_XL 0x10 | -
#define FT5XX6_REG_TOUCH3_YH 0x11 | -
#define FT5XX6_REG_TOUCH3_YL 0x12 | -
#define FT5XX6_REG_TOUCH4_XH 0x15 | -
#define FT5XX6_REG_TOUCH4_XL 0x16 | -
#define FT5XX6_REG_TOUCH4_YH 0x17 | -
#define FT5XX6_REG_TOUCH4_YL 0x18 | -
#define FT5XX6_REG_TOUCH5_XH 0x1B | -
#define FT5XX6_REG_TOUCH5_XL 0x1C | -
#define FT5XX6_REG_TOUCH5_YH 0x1D | -
#define FT5XX6_REG_TOUCH5_YL 0x1E | -
#define FT5XX6_REG_TOUCH_DET_TH 0x80 | -
#define FT5XX6_REG_TOUCH_PEAK_DET_TH 0x81 | -
#define FT5XX6_REG_TOUCH_TH_CAL 0x82 | -
#define FT5XX6_REG_TOUCH_TH_TEMP_COMP 0x84 | -
- Solar panel
-
- |
-
FT5xx6 Settings List. -More...
--Modules | |
FT5xx6 Masks | |
FT5xx6 Masks List. | |
FT5xx6 Offsets | |
FT5xx6 Offsets List. | |
-Macros | |
#define | FT5XX6_INT_MODE_POLLING 0 |
FT5xx6 Interrupt Polling Mode Setting. | |
#define | FT5XX6_INT_MODE_TRIGGER 1 |
FT5xx6 Interrupt Trigger Mode Setting. | |
#define | FT5XX6_I2C_ADDR 0x38 |
FT5xx6 Slave Address Setting. | |
#define | FT5XX6_N_DATA_TRANSFER_MIN 1 |
FT5xx6 Data Transfer Limits Setting. | |
#define | FT5XX6_N_DATA_TRANSFER_MAX 256 |
#define | FT5XX6_GESTURE_ITEMS_MAX 7 |
FT5xx6 Gesture Items Limit Setting. | |
#define | FT5XX6_EVENT_PRESS_DET 0x80 |
FT5xx6 Touch Pressure Event. | |
#define | FT5XX6_MAP_PINS(cfg) |
FT5xx6 Pin Mapping. | |
FT5xx6 Settings List.
-FT5xx6 settings description with respective values.
-#define FT5XX6_EVENT_PRESS_DET 0x80 | -
#define FT5XX6_GESTURE_ITEMS_MAX 7 | -
#define FT5XX6_I2C_ADDR 0x38 | -
#define FT5XX6_INT_MODE_POLLING 0 | -
#define FT5XX6_INT_MODE_TRIGGER 1 | -
#define FT5XX6_MAP_PINS | -( | -- | cfg | ) | -- |
#define FT5XX6_N_DATA_TRANSFER_MAX 256 | -
- Solar panel
-
- |
-
This section includes the mikroSDK API Reference for Middleware Layer. -More...
--Modules | |
FT5xx6 Touch Controllers Driver | |
FT5xx6 Touch Controller Driver API Reference. | |
SSD1963 Display Controller Driver | |
This section includes the mikroSDK API Reference for Middleware Layer.
-
- Solar panel
-
- |
-
-Modules | |
SSD1963 Display Controller Commands | |
SSD1963 Display Controller Command List. | |
- Solar panel
-
- |
-
SSD1963 Display Controller Command List. -More...
--Macros | |
#define | SSD1963_CMD_NOP 0X00 |
No operation. | |
#define | SSD1963_CMD_SOFT_RESET 0x01 |
Software Reset. | |
#define | SSD1963_CMD_GET_POWER_MODE 0x0A |
Get the current power mode. | |
#define | SSD1963_CMD_GET_ADDRESS_MODE 0x0B |
Get the frame buffer to the display panel read order. | |
#define | SSD1963_CMD_GET_DISPLAY_MODE 0x0D |
The SSD1963 returns the Display Image Mode. | |
#define | SSD1963_CMD_GET_TEAR_EFFECT_status 0x0E |
Get the Tear Effect status. | |
#define | SSD1963_CMD_ENTER_SLEEP_MODE 0x10 |
Turn off the panel. This command will pull high the GPIO0. If GPIO0 is configured as normal GPIO or LCD miscellaneous signal with command set_gpio_conf, this command will be ignored. | |
#define | SSD1963_CMD_EXIT_SLEEP_MODE 0x11 |
Turn on the panel. This command will pull low the GPIO0. If GPIO0 is configured as normal GPIO or LCD miscellaneous signal with command set_gpio_conf, this command will be ignored. | |
#define | SSD1963_CMD_ENTER_PARTIAL_MODE 0x12 |
Part of the display area is used for image display. | |
#define | SSD1963_CMD_ENTER_NORMAL_MODE 0x13 |
The whole display area is used for image display. | |
#define | SSD1963_CMD_EXIT_INVERT_MODE 0x20 |
Displayed image colors are not inverted. | |
#define | SSD1963_CMD_ENTER_INVERT_MODE 0x21 |
Displayed image colors are inverted. | |
#define | SSD1963_CMD_SET_GAMMA_CURVE 0x26 |
Selects the gamma curve used by the display panel. | |
#define | SSD1963_CMD_SET_DISPLAY_OFF 0x28 |
Blanks the display panel. | |
#define | SSD1963_CMD_SET_DISPLAY_ON 0x29 |
Show the image on the display panel. | |
#define | SSD1963_CMD_SET_COLUMN_ADDRESS 0x2A |
Set the column address. | |
#define | SSD1963_CMD_SET_PAGE_ADDRESS 0x2B |
Set the page address. | |
#define | SSD1963_CMD_WRITE_MEMORY_START 0x2C |
Transfer image information from the host processor interface to the SSD1963 starting at the location provided by set_column_address and set_page_address. | |
#define | SSD1963_CMD_READ_MEMORY_START 0x2E |
Transfer image data from the SSD1963 to the host processor interface starting at the location provided by set_column_address and set_page_address. | |
#define | SSD1963_CMD_SET_PARTIAL_AREA 0x30 |
Defines the partial display area on the display panel. | |
#define | SSD1963_CMD_SET_SCROLL_AREA 0x33 |
Defines the vertical scrolling and fixed area on display area. | |
#define | SSD1963_CMD_SET_TEAR_OFF 0x34 |
Synchronization information is not sent from the SSD1963 to the host processor. | |
#define | SSD1963_CMD_SET_TEAR_ON 0x35 |
Synchronization information is sent from the SSD1963 to the host processor at the start of VFP. | |
#define | SSD1963_CMD_SET_ADDRESS_MODE 0x36 |
Set the read order from frame buffer to the display panel. | |
#define | SSD1963_CMD_SET_SCROLL_START 0x37 |
Defines the vertical scrolling starting point. | |
#define | SSD1963_CMD_EXIT_IDLE_MODE 0x38 |
Full color depth is used for the display panel. | |
#define | SSD1963_CMD_ENTER_IDLE_MODE 0x39 |
Reduce color depth is used on the display panel. | |
#define | SSD1963_CMD_WRITE_MEMORY_CONTINUE 0x3C |
Transfer image information from the host processor interface to the SSD1963 from the last written location. | |
#define | SSD1963_CMD_READ_MEMORY_CONTINUE 0x3E |
Read image data from the SSD1963 continuing after the last read_memory_continue or read_memory_start. | |
#define | SSD1963_CMD_SET_TEAR_SCANLINE 0x44 |
Synchronization information is sent from the SSD1963 to the host processor when the display panel refresh reaches the provided scan line. | |
#define | SSD1963_CMD_GET_SCANLINE 0x45 |
Get the current scan line. | |
#define | SSD1963_CMD_READ_DDB 0xA1 |
Read the DDB from the provided location. | |
#define | SSD1963_CMD_SET_LCD_MODE 0xB0 |
Set the LCD panel mode and resolution. | |
#define | SSD1963_CMD_GET_LCD_MODE 0xB1 |
Get the current LCD panel mode, pad strength and resolution. | |
#define | SSD1963_CMD_SET_HORI_PERIOD 0xB4 |
Set front porch. | |
#define | SSD1963_CMD_GET_HORI_PERIOD 0xB5 |
Get current front porch settings. | |
#define | SSD1963_CMD_SET_VERT_PERIOD 0xB6 |
Set the vertical blanking interval between last scan line and next LFRAME pulse. | |
#define | SSD1963_CMD_GET_VERT_PERIOD 0xB7 |
Get the vertical blanking interval between last scan line and next LFRAME pulse. | |
#define | SSD1963_CMD_SET_GPIO_CONF 0xB8 |
Set the GPIO configuration. If the GPIO is not used for LCD, set the direction. Otherwise, they are toggled with LCD signals. | |
#define | SSD1963_CMD_GET_GPIO_CONF 0xB9 |
Get the current GPIO configuration. | |
#define | SSD1963_CMD_SET_GPIO_VALUE 0xBA |
Set GPIO value for GPIO configured as output. | |
#define | SSD1963_CMD_GET_GPIO_STATUS 0xBB |
Read current GPIO status. If the individual GPIO was configured as input, the value is the status of the corresponding pin. Otherwise, it is the programmed value. | |
#define | SSD1963_CMD_SET_POST_PROC 0xBC |
Set the image post processor. | |
#define | SSD1963_CMD_GET_POST_PROC 0xBD |
Get the image post processor. | |
#define | SSD1963_CMD_SET_PWM_CONF 0xBE |
Set the image post processor. | |
#define | SSD1963_CMD_GET_PWM_CONF 0xBF |
Get the image post processor. | |
#define | SSD1963_CMD_SET_LCD_GEN0 0xC0 |
Set the rise, fall, period and toggling properties of LCD signal generator 0. | |
#define | SSD1963_CMD_GET_LCD_GEN0 0xC1 |
Get the current settings of LCD signal generator 0. | |
#define | SSD1963_CMD_SET_LCD_GEN1 0xC2 |
Set the rise, fall, period and toggling properties of LCD signal generator 1. | |
#define | SSD1963_CMD_GET_LCD_GEN1 0xC3 |
Get the current settings of LCD signal generator 1. | |
#define | SSD1963_CMD_SET_LCD_GEN2 0xC4 |
Set the rise, fall, period and toggling properties of LCD signal generator 2. | |
#define | SSD1963_CMD_GET_LCD_GEN2 0xC5 |
Get the current settings of LCD signal generator 2. | |
#define | SSD1963_CMD_SET_LCD_GEN3 0xC6 |
Set the rise, fall, period and toggling properties of LCD signal generator 3. | |
#define | SSD1963_CMD_GET_LCD_GEN3 0xC7 |
Get the current settings of LCD signal generator 3. | |
#define | SSD1963_CMD_SET_GPIO0_ROP 0xC8 |
Set the GPIO0 with respect to the LCD signal generators using ROP operation. No effect if the GPIO0 is configured as general GPIO. | |
#define | SSD1963_CMD_GET_GPIO0_ROP 0xC9 |
Get the GPIO0 properties with respect to the LCD signal generators. | |
#define | SSD1963_CMD_SET_GPIO1_ROP 0xCA |
Set the GPIO1 with respect to the LCD signal generators using ROP operation. No effect if the GPIO1 is configured as general GPIO. | |
#define | SSD1963_CMD_GET_GPIO1_ROP 0xCB |
Get the GPIO1 properties with respect to the LCD signal generators. | |
#define | SSD1963_CMD_SET_GPIO2_ROP 0xCC |
Set the GPIO2 with respect to the LCD signal generators using ROP operation. No effect if the GPIO2 is configured as general GPIO. | |
#define | SSD1963_CMD_GET_GPIO2_ROP 0xCD |
Get the GPIO2 properties with respect to the LCD signal generators. | |
#define | SSD1963_CMD_SET_GPIO3_ROP 0xCE |
Set the GPIO3 with respect to the LCD signal generators using ROP operation. No effect if the GPIO3 is configured as general GPIO. | |
#define | SSD1963_CMD_GET_GPIO3_ROP 0xCF |
Get the GPIO3 properties with respect to the LCD signal generators. | |
#define | SSD1963_CMD_SET_DBC_CONF 0xD0 |
Set the dynamic back light configuration. | |
#define | SSD1963_CMD_GET_DBC_CONF 0xD |
Get the current dynamic back light configuration. | |
#define | SSD1963_CMD_SET_DBC_TH 0xD4 |
Set the threshold for each level of power saving. | |
#define | SSD1963_CMD_GET_DBC_TH 0xD5 |
Get the threshold for each level of power saving. | |
#define | SSD1963_CMD_SET_PLL 0xE0 |
Start the PLL. Before the start, the system was operated with the crystal oscillator or clock input. | |
#define | SSD1963_CMD_SET_PLL_MN 0xE2 |
Set the PLL. | |
#define | SSD1963_CMD_GET_PLL_MN 0xE3 |
Get the PLL settings. | |
#define | SSD1963_CMD_GET_PLL_STATUS 0xE4 |
Get the current PLL status. | |
#define | SSD1963_CMD_SET_DEEP_SLEEP 0xE5 |
Set deep sleep mode. | |
#define | SSD1963_CMD_SET_LSHIFT_FREQ 0xE6 |
Set the LSHIFT (pixel clock) frequency. | |
#define | SSD1963_CMD_GET_LSHIFT_FREQ 0xE7 |
Get current LSHIFT (pixel clock) frequency setting. | |
#define | SSD1963_CMD_SET_PIXEL_DATA_INTERFACE 0xF0 |
Set the pixel data format of the parallel host processor interface. | |
#define | SSD1963_CMD_GET_PIXEL_DATA_INTERFACE 0xF1 |
Get the current pixel data format settings. | |
SSD1963 Display Controller Command List.
-#define SSD1963_CMD_ENTER_IDLE_MODE 0x39 | -
Reduce color depth is used on the display panel.
- -Definition at line 200 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_ENTER_INVERT_MODE 0x21 | -
Displayed image colors are inverted.
- -Definition at line 125 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_ENTER_NORMAL_MODE 0x13 | -
The whole display area is used for image display.
- -Definition at line 115 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_ENTER_PARTIAL_MODE 0x12 | -
Part of the display area is used for image display.
- -Definition at line 110 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_ENTER_SLEEP_MODE 0x10 | -
Turn off the panel. This command will pull high the GPIO0. If GPIO0 is configured as normal GPIO or LCD miscellaneous signal with command set_gpio_conf, this command will be ignored.
- -Definition at line 100 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_EXIT_IDLE_MODE 0x38 | -
Full color depth is used for the display panel.
- -Definition at line 195 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_EXIT_INVERT_MODE 0x20 | -
Displayed image colors are not inverted.
- -Definition at line 120 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_EXIT_SLEEP_MODE 0x11 | -
Turn on the panel. This command will pull low the GPIO0. If GPIO0 is configured as normal GPIO or LCD miscellaneous signal with command set_gpio_conf, this command will be ignored.
- -Definition at line 105 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_ADDRESS_MODE 0x0B | -
Get the frame buffer to the display panel read order.
- -Definition at line 81 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_DBC_CONF 0xD | -
Get the current dynamic back light configuration.
- -Definition at line 389 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_DBC_TH 0xD5 | -
Get the threshold for each level of power saving.
- -Definition at line 399 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_DISPLAY_MODE 0x0D | -
The SSD1963 returns the Display Image Mode.
- -Definition at line 88 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_GPIO0_ROP 0xC9 | -
Get the GPIO0 properties with respect to the LCD signal generators.
- -Definition at line 349 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_GPIO1_ROP 0xCB | -
Get the GPIO1 properties with respect to the LCD signal generators.
- -Definition at line 359 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_GPIO2_ROP 0xCD | -
Get the GPIO2 properties with respect to the LCD signal generators.
- -Definition at line 369 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_GPIO3_ROP 0xCF | -
Get the GPIO3 properties with respect to the LCD signal generators.
- -Definition at line 379 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_GPIO_CONF 0xB9 | -
Get the current GPIO configuration.
- -Definition at line 269 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_GPIO_STATUS 0xBB | -
Read current GPIO status. If the individual GPIO was configured as input, the value is the status of the corresponding pin. Otherwise, it is the programmed value.
- -Definition at line 279 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_HORI_PERIOD 0xB5 | -
Get current front porch settings.
- -Definition at line 249 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_LCD_GEN0 0xC1 | -
Get the current settings of LCD signal generator 0.
- -Definition at line 309 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_LCD_GEN1 0xC3 | -
Get the current settings of LCD signal generator 1.
- -Definition at line 319 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_LCD_GEN2 0xC5 | -
Get the current settings of LCD signal generator 2.
- -Definition at line 329 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_LCD_GEN3 0xC7 | -
Get the current settings of LCD signal generator 3.
- -Definition at line 339 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_LCD_MODE 0xB1 | -
Get the current LCD panel mode, pad strength and resolution.
- -Definition at line 239 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_LSHIFT_FREQ 0xE7 | -
Get current LSHIFT (pixel clock) frequency setting.
- -Definition at line 434 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_PIXEL_DATA_INTERFACE 0xF1 | -
Get the current pixel data format settings.
- -Definition at line 447 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_PLL_MN 0xE3 | -
Get the PLL settings.
- -Definition at line 414 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_PLL_STATUS 0xE4 | -
Get the current PLL status.
- -Definition at line 419 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_POST_PROC 0xBD | -
Get the image post processor.
- -Definition at line 289 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_POWER_MODE 0x0A | -
Get the current power mode.
- -Definition at line 76 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_PWM_CONF 0xBF | -
Get the image post processor.
- -Definition at line 299 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_SCANLINE 0x45 | -
Get the current scan line.
- -Definition at line 222 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_TEAR_EFFECT_status 0x0E | -
Get the Tear Effect status.
- -Definition at line 93 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_GET_VERT_PERIOD 0xB7 | -
Get the vertical blanking interval between last scan line and next LFRAME pulse.
- -Definition at line 259 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_NOP 0X00 | -
No operation.
- -Definition at line 66 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_READ_DDB 0xA1 | -
Read the DDB from the provided location.
- -Definition at line 227 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_READ_MEMORY_CONTINUE 0x3E | -
Read image data from the SSD1963 continuing after the last read_memory_continue or read_memory_start.
- -Definition at line 212 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_READ_MEMORY_START 0x2E | -
Transfer image data from the SSD1963 to the host processor interface starting at the location provided by set_column_address and set_page_address.
- -Definition at line 160 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_ADDRESS_MODE 0x36 | -
Set the read order from frame buffer to the display panel.
- -Definition at line 185 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_COLUMN_ADDRESS 0x2A | -
Set the column address.
- -Definition at line 145 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_DBC_CONF 0xD0 | -
Set the dynamic back light configuration.
- -Definition at line 384 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_DBC_TH 0xD4 | -
Set the threshold for each level of power saving.
- -Definition at line 394 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_DEEP_SLEEP 0xE5 | -
Set deep sleep mode.
- -Definition at line 424 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_DISPLAY_OFF 0x28 | -
Blanks the display panel.
- -Definition at line 135 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_DISPLAY_ON 0x29 | -
Show the image on the display panel.
- -Definition at line 140 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GAMMA_CURVE 0x26 | -
Selects the gamma curve used by the display panel.
- -Definition at line 130 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GPIO0_ROP 0xC8 | -
Set the GPIO0 with respect to the LCD signal generators using ROP operation. No effect if the GPIO0 is configured as general GPIO.
- -Definition at line 344 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GPIO1_ROP 0xCA | -
Set the GPIO1 with respect to the LCD signal generators using ROP operation. No effect if the GPIO1 is configured as general GPIO.
- -Definition at line 354 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GPIO2_ROP 0xCC | -
Set the GPIO2 with respect to the LCD signal generators using ROP operation. No effect if the GPIO2 is configured as general GPIO.
- -Definition at line 364 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GPIO3_ROP 0xCE | -
Set the GPIO3 with respect to the LCD signal generators using ROP operation. No effect if the GPIO3 is configured as general GPIO.
- -Definition at line 374 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GPIO_CONF 0xB8 | -
Set the GPIO configuration. If the GPIO is not used for LCD, set the direction. Otherwise, they are toggled with LCD signals.
- -Definition at line 264 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_GPIO_VALUE 0xBA | -
Set GPIO value for GPIO configured as output.
- -Definition at line 274 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_HORI_PERIOD 0xB4 | -
Set front porch.
- -Definition at line 244 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_LCD_GEN0 0xC0 | -
Set the rise, fall, period and toggling properties of LCD signal generator 0.
- -Definition at line 304 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_LCD_GEN1 0xC2 | -
Set the rise, fall, period and toggling properties of LCD signal generator 1.
- -Definition at line 314 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_LCD_GEN2 0xC4 | -
Set the rise, fall, period and toggling properties of LCD signal generator 2.
- -Definition at line 324 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_LCD_GEN3 0xC6 | -
Set the rise, fall, period and toggling properties of LCD signal generator 3.
- -Definition at line 334 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_LCD_MODE 0xB0 | -
Set the LCD panel mode and resolution.
- -Definition at line 234 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_LSHIFT_FREQ 0xE6 | -
Set the LSHIFT (pixel clock) frequency.
- -Definition at line 429 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_PAGE_ADDRESS 0x2B | -
Set the page address.
- -Definition at line 150 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_PARTIAL_AREA 0x30 | -
Defines the partial display area on the display panel.
- -Definition at line 165 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_PIXEL_DATA_INTERFACE 0xF0 | -
Set the pixel data format of the parallel host processor interface.
- -Definition at line 442 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_PLL 0xE0 | -
Start the PLL. Before the start, the system was operated with the crystal oscillator or clock input.
- -Definition at line 404 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_PLL_MN 0xE2 | -
Set the PLL.
- -Definition at line 409 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_POST_PROC 0xBC | -
Set the image post processor.
- -Definition at line 284 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_PWM_CONF 0xBE | -
Set the image post processor.
- -Definition at line 294 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_SCROLL_AREA 0x33 | -
Defines the vertical scrolling and fixed area on display area.
- -Definition at line 170 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_SCROLL_START 0x37 | -
Defines the vertical scrolling starting point.
- -Definition at line 190 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_TEAR_OFF 0x34 | -
Synchronization information is not sent from the SSD1963 to the host processor.
- -Definition at line 175 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_TEAR_ON 0x35 | -
Synchronization information is sent from the SSD1963 to the host processor at the start of VFP.
- -Definition at line 180 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_TEAR_SCANLINE 0x44 | -
Synchronization information is sent from the SSD1963 to the host processor when the display panel refresh reaches the provided scan line.
- -Definition at line 217 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SET_VERT_PERIOD 0xB6 | -
Set the vertical blanking interval between last scan line and next LFRAME pulse.
- -Definition at line 254 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_SOFT_RESET 0x01 | -
Software Reset.
- -Definition at line 71 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_WRITE_MEMORY_CONTINUE 0x3C | -
Transfer image information from the host processor interface to the SSD1963 from the last written location.
- -Definition at line 207 of file ssd1963_cmd.h.
- -#define SSD1963_CMD_WRITE_MEMORY_START 0x2C | -
Transfer image information from the host processor interface to the SSD1963 starting at the location provided by set_column_address and set_page_address.
- -Definition at line 155 of file ssd1963_cmd.h.
- -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
Go to the source code of this file.
--Functions | |
void | INTERRUPT_Initialize (void) |
void | __interrupt () INTERRUPT_InterruptManager(void) |
void __interrupt | -( | -) | -- |
Definition at line 58 of file interrupt_manager.c.
- -void INTERRUPT_Initialize | -( | -void | -) | -- |
Generated Interrupt Manager Source File
-@Company: Microchip Technology Inc.
-@File Name: interrupt_manager.c
-@Summary: This is the Interrupt Manager file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description: This header file provides implementations for global interrupt handling. For individual peripheral handlers please see the peripheral driver for all modules selected in the GUI. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.04 The generated drivers are tested against the following: Compiler : XC8 2.36 and above or later MPLAB : MPLAB X 6.00
- -Definition at line 52 of file interrupt_manager.c.
- -
- Solar panel
-
- |
-
- Solar panel
-
- |
-
Go to the source code of this file.
--Macros | |
#define | INTERRUPT_GlobalInterruptEnable() (INTCONbits.GIE = 1) |
#define | INTERRUPT_GlobalInterruptDisable() (INTCONbits.GIE = 0) |
#define | INTERRUPT_PeripheralInterruptEnable() (INTCONbits.PEIE = 1) |
#define | INTERRUPT_PeripheralInterruptDisable() (INTCONbits.PEIE = 0) |
-Functions | |
void | INTERRUPT_Initialize (void) |
#define INTERRUPT_GlobalInterruptDisable | -( | -) | -(INTCONbits.GIE = 0) | -
@Param none @Returns none @Description This macro will disable global interrupts. @Example INTERRUPT_GlobalInterruptDisable();
- -Definition at line 75 of file interrupt_manager.h.
- -#define INTERRUPT_GlobalInterruptEnable | -( | -) | -(INTCONbits.GIE = 1) | -
Generated Interrupt Manager Header File
-@Company: Microchip Technology Inc.
-@File Name: interrupt_manager.h
-@Summary: This is the Interrupt Manager file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description: This header file provides implementations for global interrupt handling. For individual peripheral handlers please see the peripheral driver for all modules selected in the GUI. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.03 The generated drivers are tested against the following: Compiler : XC8 2.36 and above or later MPLAB : MPLAB X 6.00 @Param none @Returns none @Description This macro will enable global interrupts. @Example INTERRUPT_GlobalInterruptEnable();
- -Definition at line 63 of file interrupt_manager.h.
- -#define INTERRUPT_PeripheralInterruptDisable | -( | -) | -(INTCONbits.PEIE = 0) | -
@Param none @Returns none @Description This macro will disable peripheral interrupts. @Example INTERRUPT_PeripheralInterruptDisable();
- -Definition at line 98 of file interrupt_manager.h.
- -#define INTERRUPT_PeripheralInterruptEnable | -( | -) | -(INTCONbits.PEIE = 1) | -
@Param none @Returns none @Description This macro will enable peripheral interrupts. @Example INTERRUPT_PeripheralInterruptEnable();
- -Definition at line 86 of file interrupt_manager.h.
- -void INTERRUPT_Initialize | -( | -void | -) | -- |
@Param none @Returns none @Description Initializes PIC18 peripheral interrupt priorities; enables/disables priority vectors @Example INTERRUPT_Initialize();
-Generated Interrupt Manager Source File
-@Company: Microchip Technology Inc.
-@File Name: interrupt_manager.c
-@Summary: This is the Interrupt Manager file generated using PIC10 / PIC12 / PIC16 / PIC18 MCUs
-@Description: This header file provides implementations for global interrupt handling. For individual peripheral handlers please see the peripheral driver for all modules selected in the GUI. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.04 The generated drivers are tested against the following: Compiler : XC8 2.36 and above or later MPLAB : MPLAB X 6.00
- -Definition at line 52 of file interrupt_manager.c.
- -
- Solar panel
-
- |
-