参数资料
型号: SPT711XPFCE
厂商: Freescale Semiconductor
文件页数: 16/60页
文件大小: 0K
描述: CARD TELEPHONY FARM CRD 711X
标准包装: 1
系列: *
Hardware
// Configure Pins
pstGPIO->gp[0].GP_CTL |=
0x0000C000;
// Disable Control Register
I2C->I2CR = 0x00;
// Set slowest I2C bus speed possible
I2C->IFDR = 0x3f;
// Set address
I2C->IADR = (d_addr << 1) | 0x08;
// Enable Control Register
I2C->I2CR = 0x80;
return 0;
}
/******************************************************************************
I2C_STATUS()
Check if I2C is initialized
ARGS:
(None.)
RTNS:
0 = Down
1 = Up
******************************************************************************/
int I2C_STATUS()
{
i2c_map_t* I2C = (i2c_map_t*) I2C_BASE;
if (I2C->I2CR & 0x80)
{ return 1; }
return 0;
}
/******************************************************************************
I2C_RX()
Receive number of bytes from the bus.
ARGS:
*data : Data buffer for received
cnt : Number of bytes to read
RTNS:
Number of bytes received successfully.
******************************************************************************/
int I2C_RX(unsigned char *data, int cnt)
{
i2c_map_t* I2C = (i2c_map_t*) I2C_BASE;
int x = 0;
// Receive mode
I2C->I2CR &= ~0x0010;
// Set or clear Ack control before dummy read
if (cnt > 1)
{ I2C->I2CR &= ~0x0008; }
else
{ I2C->I2CR |= 0x0008; }
MSC711x Packet Telephony Farm Card (SPT711xPFCE), Rev. 1
16
Freescale Semiconductor
相关PDF资料
PDF描述
SPUSB1AJT SURGE SUPPRESOR USB 12OHM SC70-6
SR-5H-6.3A-BK FUSE 6.3A 250VAC RADIAL SLOW
SR1K20M155X VARISTOR 20VRMS W/RFI SUPP RAD
SRP120LF POLYSWITCH PTC RESET 1.2A STRAP
SRP120SF POLYSWITCH PTC RESET 1.2A STRAP
相关代理商/技术参数
参数描述
SPT-750 功能描述:烙铁 CONTROL BOX ASSEM SP-750T RoHS:否 制造商:Weller 产品:Soldering Stations 类型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大温度:+ 850 F 电缆类型:US Cord Included
SPT-751 功能描述:烙铁 COVER ASSEMBLY SP-750T RoHS:否 制造商:Weller 产品:Soldering Stations 类型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大温度:+ 850 F 电缆类型:US Cord Included
SPT7560 制造商:Cooper Wiring Devices 功能描述:
SPT7572 制造商:Cooper Wiring Devices 功能描述:
SPT7610 制造商:CADEKA 制造商全称:CADEKA 功能描述:6-BIT, 1 GSPS FLASH A/D CONVERTER