DM164130-1 Microchip Technology, DM164130-1 Datasheet - Page 23

BOARD EVAL PICKIT PIC16LF1937

DM164130-1

Manufacturer Part Number
DM164130-1
Description
BOARD EVAL PICKIT PIC16LF1937
Manufacturer
Microchip Technology
Series
PICkit™r
Type
MCUr
Datasheet

Specifications of DM164130-1

Contents
Board
Processor To Be Evaluated
PIC16LF1937
Processor Series
PICxxF1xxx
Data Bus Width
8 bit
Operating Supply Voltage
1.8 V to 3.6 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC16
Silicon Core Number
PIC16F
Silicon Family Name
PIC12F1xxx, PIC16F1xxx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC16LF1937
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM164130-1
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM164130-10
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2009 Microchip Technology Inc.
5.6.2
5.6.2.1
The function i2c_init configures the I
transaction in the transaction queue.
FIGURE 5-1:
5.6.2.2
The function i2c_insert places one complete set of transaction request block (trb’s).
TRBs can be bundled into an array of multiple TRBs and inserted as one large request.
The driver will ensure that all the TRBs in the list will be processed sequentially with I
restarts separating them.
FIGURE 5-2:
5.6.2.3
The i2c_build_write_trb and i2c_build_read_trb functions are helpers to
assemble the I2C_TRANSACTION_REQUEST_BLOCKS from passed parameters.
FIGURE 5-3:
5.6.2.4
The i2c_write_block and i2c_read_block functions are helpers that assemble
a TRB, insert it into the queue and wait for the transaction to complete.
Send_data()
{
}
initialize()
{
}
Send_one_byte()
{
}
i2c_init(I2C_400K);
I2C_TRANSACTION_REQUEST_BLOCK trb_list[5];
I2C_RESULTS flag;
… populate the trb’s …
i2c_insert(5,trb_list, &flag);
I2C_TRANSACTION_REQUEST_BLOCK trb_list;
unsigned char data;
I2C_RESULTS flag;
data_block = .. my data byte ..
i2c_build_write_trb(&trb_list,ADDRESS, 1, &data, i2c_200K);
i2c_insert(1,&trb,&flag);
I
i2c_init
i2c_insert
i2c_build_write_trb / i2c_build_read_trb
i2c_write_block / i2c_read_block
2
C Function Interface
Hardware Libraries and Drivers
2
C driver and makes it ready to receive
DS41401A-page 23
2
C

Related parts for DM164130-1