Built-in Functions
pins.
Example
Files:
Also See:
None
setup_high_speed_adc(), read_high_speed_adc(), high_speed_adc_done()
setup_lcd( )
Syntax:
setup_lcd ( mode , prescale , [ segments0_31 ] ,[segments32_47]) ;
Parameters: Mode may be any of the following constants to enable the LCD and may be or'ed
with other constants in the devices * .h file:
?
LCD_DISABLED, LCD_STATIC, LCD_MUX12, LCD_MUX13,
LCD_MUX14
See the devices .h file for other device specific options.
Prescale may be 0-15 for the LCD clock .
Segments0-31 may be any of the following constants or'ed together when using
the PIC16C92X series of chips::
?
SEG0_4, SEG5_8, SEG9_11, SEG12_15, SEG16_19, SEG20_26,
SEG27_28, SEG29_31 ALL_LCD_PINS
When using the PIC16F/LF1xxx or PIC18F/LFxxxx series of chips, each of the
segments are enabled individually. A value of 1 will enable the segment, 0 will
disable it and use the pin for normal I/O operation.
Segments 32-47 when using a chip with more than 32 segments, this enables
segments 32-47. A value 1 will enable the segment, 0 will disable it. Bit 0
corresponds to segment 32 and bit 15 corresponds to segment 47.
Returns:
Function:
undefined.
This function is used to initialize the LCD Driver Module on the PIC16C92X and
PIC16F/LF193X series of chips.
Availability: Only on devices with built-in LCD Driver Module hardware.
Requires
Examples:
Constants are defined in the devices * .h file.
· setup_lcd( LCD_MUX14 | LCD_STOP_ON_SLEEP, 2, ALL_LCD_PINS );
// PIC16C92X
· setup_lcd( LCD_MUX13 | LCD_REF_ENABLED | LCD_B_HIGH_POWER, 0,
0xFF0429);
267
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY