參數(shù)資料
型號: DM164134
廠商: Microchip Technology
文件頁數(shù): 34/116頁
文件大?。?/td> 0K
描述: KIT DEV PIC18F4XK22
標(biāo)準(zhǔn)包裝: 1
系列: PIC® 18F
類型: MCU
適用于相關(guān)產(chǎn)品: PIC18F4XK22,PIC18F2XK22
所含物品: 板,文檔
2009 Microchip Technology Inc.
Preliminary
DS41364D-page 285
PIC16F193X/LF193X
REGISTER 23-2:
SSPCON1: SSP CONTROL REGISTER 1
R/C/HS-0/0
R/W-0/0
WCOL
SSPOV
SSPEN
CKP
SSPM<3:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
HS = Bit is set by hardware
C = User cleared
bit 7
WCOL:
Write Collision Detect bit
Master mode:
1
= A write to the SSPBUF register was attempted while the I2C conditions were not valid for a transmission to be started
0
= No collision
Slave mode:
1
= The SSPBUF register is written while it is still transmitting the previous word (must be cleared in software)
0
= No collision
bit 6
SSPOV:
Receive Overflow Indicator bit(1)
In SPI mode:
1
= A new byte is received while the SSPBUF register is still holding the previous data. In case of overflow, the data in SSPSR is lost.
Overflow can only occur in Slave mode. In Slave mode, the user must read the SSPBUF, even if only transmitting data, to avoid
setting overflow. In Master mode, the overflow bit is not set since each new reception (and transmission) is initiated by writing to the
SSPBUF register (must be cleared in software).
0
= No overflow
In I2C mode:
1
= A byte is received while the SSPBUF register is still holding the previous byte. SSPOV is a “don’t care” in Transmit mode
(must be cleared in software).
0
= No overflow
bit 5
SSPEN:
Synchronous Serial Port Enable bit
In both modes, when enabled, these pins must be properly configured as input or output
In SPI mode:
1
= Enables serial port and configures SCK, SDO, SDI and SS as the source of the serial port pins(2)
0
= Disables serial port and configures these pins as I/O port pins
In I2C mode:
1
= Enables the serial port and configures the SDA and SCL pins as the source of the serial port pins(3)
0
= Disables serial port and configures these pins as I/O port pins
bit 4
CKP:
Clock Polarity Select bit
In SPI mode:
1
= Idle state for clock is a high level
0
= Idle state for clock is a low level
In I2C Slave mode:
SCL release control
1
= Enable clock
0
= Holds clock low (clock stretch). (Used to ensure data setup time.)
In I2C Master mode:
Unused in this mode
bit 3-0
SSPM<3:0>:
Synchronous Serial Port Mode Select bits
0000
= SPI Master mode, clock = FOSC/4
0001
= SPI Master mode, clock = FOSC/16
0010
= SPI Master mode, clock = FOSC/64
0011
= SPI Master mode, clock = TMR2 output/2
0100
= SPI Slave mode, clock = SCK pin, SS pin control enabled
0101
= SPI Slave mode, clock = SCK pin, SS pin control disabled, SS can be used as I/O pin
0110
= I2C Slave mode, 7-bit address
0111
= I2C Slave mode, 10-bit address
1000
= I2C Master mode, clock = FOSC / (4 * (SSPADD+1))(4)
1001
= Reserved
1010
= SPI Master mode, clock = FOSC/(4 * (SSPADD+1))
1011
= I2C firmware controlled Master mode (Slave idle)
1100
= Reserved
1101
= Reserved
1110
= I2C Slave mode, 7-bit address with Start and Stop bit interrupts enabled
1111
= I2C Slave mode, 10-bit address with Start and Stop bit interrupts enabled
Note
1:
In Master mode, the overflow bit is not set since each new reception (and transmission) is initiated by writing to the SSPBUF register.
2:
When enabled, these pins must be properly configured as input or output.
3:
When enabled, the SDA and SCL pins must be configured as inputs.
4:
SSPADD values of 0, 1 or 2 are not supported for I2C Mode.
相關(guān)PDF資料
PDF描述
AIUR-07-221K INDUCTOR POWER 220UH 10% T/H
MAX8903CETI+ IC DC/DC CHARGER LI+ 2A 28-TQFN
MAX11080GUU/V+T IC LI/BATTERY MANAGEMENT 38TSSOP
MAX11081GUU+T IC FAULT MON BATT 12CH 38-TSSOP
MAX11081GUU/V+T IC FAULT MON BATT 12CH 38TSSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DM164135 制造商:Microchip Technology Inc 功能描述:KIT, ONEPIC DEMO BOARD, PLUS PICKIT 3 制造商:Microchip Technology Inc 功能描述:KIT, ONEPIC DEMO BOARD, PLUS PICKIT 3; SVHC:No SVHC (19-Dec-2012) ;RoHS Compliant: Yes 制造商:Microchip Technology Inc 功能描述:One PIC MCU Platform Board with PICkit 3
DM164135 制造商:Microchip Technology Inc 功能描述:PICKIT 3 IN-CIRCUIT DEBUGGER
DM173001 功能描述:開發(fā)板和工具包 - PIC / DSPIC PICDEM 17 PIC17CXX RoHS:否 制造商:Microchip Technology 產(chǎn)品:Starter Kits 工具用于評估:chipKIT 核心:Uno32 接口類型: 工作電源電壓:
DM180021 功能描述:開發(fā)板和工具包 - PIC / DSPIC PIC18 Starter Kit RoHS:否 制造商:Microchip Technology 產(chǎn)品:Starter Kits 工具用于評估:chipKIT 核心:Uno32 接口類型: 工作電源電壓:
DM1800-434MB 功能描述:射頻模塊 DM1800 Base Station 433.92 MHz RoHS:否 制造商:Linx Technologies 產(chǎn)品:Transceiver Modules 頻帶:902 MHz to 928 MHz 輸出功率:- 15.5 dBm to + 12.5 dBm 接口類型:UART 工作電源電壓:- 0.3 VDC to + 5.5 VDC 傳輸供電電流:38.1 mA 接收供電電流:22.7 mA 天線連接器類型:U.FL 最大工作溫度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm