ISP1362BDFA STEricsson, ISP1362BDFA Datasheet - Page 23

no-image

ISP1362BDFA

Manufacturer Part Number
ISP1362BDFA
Description
Manufacturer
STEricsson
Datasheet

Specifications of ISP1362BDFA

Lead Free Status / RoHS Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ISP1362BDFA
Manufacturer:
STE
Quantity:
5
Part Number:
ISP1362BDFA
Manufacturer:
ST-Ericsson Inc
Quantity:
10 000
ISP1362_7
Product data sheet
8.5.1 PIO access to the buffer memory by using direct addressing
8.5 PIO access to the buffer memory
}
void write_reg32(unsigned char reg_no, unsigned long data2write)
{
}
unsigned int read_reg16(unsigned char reg_no)
{
}
void write_reg16(unsigned char reg_no, unsigned int data2write)
{
}
The buffer memory in the ISP1362 can be addressed using either the direct addressing
method or the indirect addressing method.
This method uses the HcDirectAddressLength register to specify two parameters required
to randomly access the ISP1362 buffer memory (total of 4096 bytes). These two
parameters are:
Starting address — location to start writing or reading
Data length — number of bytes to write or read
The following is a sample code to set the HcDirectAddressLength register:
result = result_h;
result = result<<16;
result = result+result_l;
return(result);
unsigned int low_word;
unsigned int hi_word;
low_word=data2write&0x0000FFFF;
hi_word=(data2write&0xFFFF0000)>>16;
outport(hc_com,reg_no|0x80); // Command phase
outport(hc_data,low_word); // Data phase
outport(hc_data,hi_word); // Data phase
unsigned int result;
outport(hc_com, reg_no); // Command phase
result = inport(hc_data); // Data phase
return(result);
outport(hc_com,reg_no|0x80); // Command phase
outport(hc_data,data2write); // Data phase
Rev. 07 — 29 September 2009
Single-chip USB OTG controller
© ST-ERICSSON 2009. All rights reserved.
ISP1362
23 of 147

Related parts for ISP1362BDFA