參數(shù)資料
型號: UPD70F3107AA
廠商: NEC Corp.
英文描述: 32-Bit Single-Chip Microcontrollers
中文描述: 32位單芯片微控制器
文件頁數(shù): 77/99頁
文件大?。?/td> 528K
代理商: UPD70F3107AA
CHAPTER 5 APPLICATION EXAMPLES
Application Note U17121EJ1V1AN
77
/////////////////////////////////////////////////////////////////
// Function name: PCI_ConfigWrite //
// Function: Writes 32-bit value to PCI configuration space. //
// Argument: ConfigAdd: Register address of configuration space//
// ConfigData: Register data of configuration space //
// Return value: None //
/////////////////////////////////////////////////////////////////
void PCI_ConfigWrite(UWORD ConfigAdd, UWORD ConfigData)
{
V850EME2_REGW(PHBMR_PCI_CONFIG_ADD) = ConfigAdd;
V850EME2_REGW(PHBMR_PCI_CONFIG_DATA) = ConfigData;
return;
}
/////////////////////////////////////////////////////////////////////////
// Function name: PCI_Config_BaseAddressInit //
// Function: Sets base address of configuration space. //
// Argument: None //
// Return value: None //
// Details: Sets base address register of offset 10H to 24H in //
// configuration space of PCI device connected to AD30 //
// signal by IDSEL as follows. //
// //
// ATA Command Register Base Address (10H) : 0C80_0000H //
// ATA Control Register Base Address (14H) : 0C80_0008H //
// Bus Master Control Register Base Address(18H) : 0C80_0010H //
// //
/////////////////////////////////////////////////////////////////////////
void PCI_Config_BaseAddressInit(void)
{
UWORD ConfigAddress;
UWORD ConfigData;
///////////////////////////////////////
// ATA Command Register Base Address //
///////////////////////////////////////
ConfigAddress = 0x40000010;
// bit 31-11 : IDSEL specification = 010000000000000000000b
// Select PCI device connected to AD30
// bit 10-08 : Function number = 00b
// bit 07-02 : Register number = 4 (000100b),
// -> ATA Command Register Base Address
// (In the case of PCI-IDE ASIC board used in this application)
// bit 01-00 : 00b (fixed)
PCI_ConfigWrite(ConfigAddress, 0x0C800000);
相關(guān)PDF資料
PDF描述
UPD70F3107AGJA-UEN 32-Bit Single-Chip Microcontrollers
UPD70F3107AGJ-UEN 32-Bit Single-Chip Microcontrollers
UPD70F3134A 32-Bit Single-Chip Microcontrollers
UPD70F3134AF1-EN4 32-Bit Single-Chip Microcontrollers
UPD70F3134AGJ-UEN 32-Bit Single-Chip Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD70F3107AF1-EN4 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|32-BIT|V850 CPU|CMOS|BGA|161PIN|PLASTIC
UPD70F3107AG(A)-UEN 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|32-BIT|V850 CPU|CMOS|QFP|144PIN|PLASTIC
UPD70F3107AGJA-UEN 制造商:NEC 制造商全稱:NEC 功能描述:32-Bit Single-Chip Microcontrollers
UPD70F3107AGJ-UEN 制造商:NEC 制造商全稱:NEC 功能描述:32-Bit Single-Chip Microcontrollers
UPD70F3107AGJ-UEN-A 制造商:Renesas Electronics 功能描述:V850 50MHz 制造商:Renesas Electronics 功能描述:V850 50MHz Cut Tape