Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18F242 Datasheet(PDF) 139 Page - Microchip Technology

Part # PIC18F242
Description  High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D
PDF  332 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F242 Datasheet(HTML) 139 Page - Microchip Technology

Back Button PIC18F242 Datasheet HTML 135Page - Microchip Technology PIC18F242 Datasheet HTML 136Page - Microchip Technology PIC18F242 Datasheet HTML 137Page - Microchip Technology PIC18F242 Datasheet HTML 138Page - Microchip Technology PIC18F242 Datasheet HTML 139Page - Microchip Technology PIC18F242 Datasheet HTML 140Page - Microchip Technology PIC18F242 Datasheet HTML 141Page - Microchip Technology PIC18F242 Datasheet HTML 142Page - Microchip Technology PIC18F242 Datasheet HTML 143Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 139 / 332 page
background image
© 2006 Microchip Technology Inc.
DS39564C-page 137
PIC18FXX2
REGISTER 15-5:
SSPCON2: MSSP CONTROL REGISTER 2 (I2C MODE)
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
GCEN
ACKSTAT
ACKDT
ACKEN
RCEN
PEN
RSEN
SEN
bit 7
bit 0
bit 7
GCEN: General Call Enable bit (Slave mode only)
1
= Enable interrupt when a general call address (0000h) is received in the SSPSR
0
= General call address disabled
bit 6
ACKSTAT: Acknowledge Status bit (Master Transmit mode only)
1
= Acknowledge was not received from slave
0
= Acknowledge was received from slave
bit 5
ACKDT: Acknowledge Data bit (Master Receive mode only)
1
= Not Acknowledge
0
= Acknowledge
Note:
Value that will be transmitted when the user initiates an Acknowledge sequence at
the end of a receive.
bit 4
ACKEN: Acknowledge Sequence Enable bit (Master Receive mode only)
1
= Initiate Acknowledge sequence on SDA and SCL pins, and transmit ACKDT data bit.
Automatically cleared by hardware.
0
= Acknowledge sequence IDLE
bit 3
RCEN: Receive Enable bit (Master mode only)
1
= Enables Receive mode for I2C
0
= Receive IDLE
bit 2
PEN: STOP Condition Enable bit (Master mode only)
1
= Initiate STOP condition on SDA and SCL pins. Automatically cleared by hardware.
0
= STOP condition IDLE
bit 1
RSEN: Repeated START Condition Enabled bit (Master mode only)
1
= Initiate Repeated START condition on SDA and SCL pins.
Automatically cleared by hardware.
0
= Repeated START condition IDLE
bit 0
SEN: START Condition Enabled/Stretch Enabled bit
In Master mode:
1
= Initiate START condition on SDA and SCL pins. Automatically cleared by hardware.
0
= START condition IDLE
In Slave mode:
1
= Clock stretching is enabled for both Slave Transmit and Slave Receive (stretch enabled)
0
= Clock stretching is enabled for slave transmit only (Legacy mode)
Note:
For bits ACKEN, RCEN, PEN, RSEN, SEN: If the I2C module is not in the IDLE
mode, this bit may not be set (no spooling) and the SSPBUF may not be written (or
writes to the SSPBUF are disabled).
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
- n = Value at POR
’1’ = Bit is set
’0’ = Bit is cleared
x = Bit is unknown



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com