RPort
[H8/300H]

RPort hardware specification. More...

Collaboration diagram for RPort:

Defines

#define NutInitSysIrq()
#define NIC_IO_BASE   (0x800000UL + 0x300UL)
#define NicIntIsEnabled()   (INTC.IER.BIT.IRQ0E == 1)
#define NicDisableInt()   INTC.IER.BIT.IRQ0E = 0
#define NicEnableInt()   INTC.IER.BIT.IRQ0E = 1
#define NicMcu16bitBus()   BSC.ABWCR.BIT.ABW4 = 0
#define NicMcu8bitBus()   BSC.ABWCR.BIT.ABW4 = 1
#define RTL_SIGNAL   sig_INT0

Detailed Description

RPort hardware specification.


Define Documentation

 
#define NutInitSysIrq (  ) 
Value:
INTC.ISCR.BIT.IRQ0SC = 0;           \
    INTC.IPRA.BIT._IRQ0  = 0;

Low level sensing interrupt; Very important! High poriority; CKE1-0 in SCR, default setting; C/A# in SMR, default setting; P95DDR, default setting: P9DDR = B_1100_0000; SCI1.SMR.BIT.CA = 0;

Definition at line 60 of file rport.h.

#define NIC_IO_BASE   (0x800000UL + 0x300UL)

IO base address of RTL chip.

Definition at line 67 of file rport.h.

 
#define NicIntIsEnabled (  )     (INTC.IER.BIT.IRQ0E == 1)

Check Nic Int is set or not

Definition at line 72 of file rport.h.

 
#define NicDisableInt (  )     INTC.IER.BIT.IRQ0E = 0

Disable Nic Interruption

Definition at line 77 of file rport.h.

 
#define NicEnableInt (  )     INTC.IER.BIT.IRQ0E = 1

Enable Nic Interruption

Definition at line 82 of file rport.h.

 
#define NicMcu16bitBus (  )     BSC.ABWCR.BIT.ABW4 = 0

Switch MCU data bus (area 4) into 16 bit mode

Definition at line 87 of file rport.h.

 
#define NicMcu8bitBus (  )     BSC.ABWCR.BIT.ABW4 = 1

Switch MCU data bus (area 4) into 8 bit mode

Definition at line 92 of file rport.h.

#define RTL_SIGNAL   sig_INT0

interruption signal handler of RTL_SIGNAL_BIT.

Definition at line 97 of file rport.h.


© 2000-2010 by contributors - visit http://www.ethernut.de/