Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
m32102.h File Reference

Go to the source code of this file.

Data Structures

struct  icu_data_t
 

Macros

#define M32R_SFR_OFFSET   (0x00E00000) /* 0x00E00000-0x00EFFFFF 1[MB] */
 
#define M32R_CPM_OFFSET   (0x000F4000+M32R_SFR_OFFSET)
 
#define M32R_CPM_CPUCLKCR_PORTL   (0x00+M32R_CPM_OFFSET)
 
#define M32R_CPM_CLKMOD_PORTL   (0x04+M32R_CPM_OFFSET)
 
#define M32R_CPM_PLLCR_PORTL   (0x08+M32R_CPM_OFFSET)
 
#define M32R_DMA_OFFSET   (0x000F8000+M32R_SFR_OFFSET)
 
#define M32R_DMAEN_PORTL   (0x000+M32R_DMA_OFFSET)
 
#define M32R_DMAISTS_PORTL   (0x004+M32R_DMA_OFFSET)
 
#define M32R_DMAEDET_PORTL   (0x008+M32R_DMA_OFFSET)
 
#define M32R_DMAASTS_PORTL   (0x00c+M32R_DMA_OFFSET)
 
#define M32R_DMA0CR0_PORTL   (0x100+M32R_DMA_OFFSET)
 
#define M32R_DMA0CR1_PORTL   (0x104+M32R_DMA_OFFSET)
 
#define M32R_DMA0CSA_PORTL   (0x108+M32R_DMA_OFFSET)
 
#define M32R_DMA0RSA_PORTL   (0x10c+M32R_DMA_OFFSET)
 
#define M32R_DMA0CDA_PORTL   (0x110+M32R_DMA_OFFSET)
 
#define M32R_DMA0RDA_PORTL   (0x114+M32R_DMA_OFFSET)
 
#define M32R_DMA0CBCUT_PORTL   (0x118+M32R_DMA_OFFSET)
 
#define M32R_DMA0RBCUT_PORTL   (0x11c+M32R_DMA_OFFSET)
 
#define M32R_DMA1CR0_PORTL   (0x200+M32R_DMA_OFFSET)
 
#define M32R_DMA1CR1_PORTL   (0x204+M32R_DMA_OFFSET)
 
#define M32R_DMA1CSA_PORTL   (0x208+M32R_DMA_OFFSET)
 
#define M32R_DMA1RSA_PORTL   (0x20c+M32R_DMA_OFFSET)
 
#define M32R_DMA1CDA_PORTL   (0x210+M32R_DMA_OFFSET)
 
#define M32R_DMA1RDA_PORTL   (0x214+M32R_DMA_OFFSET)
 
#define M32R_DMA1CBCUT_PORTL   (0x218+M32R_DMA_OFFSET)
 
#define M32R_DMA1RBCUT_PORTL   (0x21c+M32R_DMA_OFFSET)
 
#define M32R_MFT_OFFSET   (0x000FC000+M32R_SFR_OFFSET)
 
#define M32R_MFTCR_PORTL   (0x000+M32R_MFT_OFFSET) /* MFT control */
 
#define M32R_MFTRPR_PORTL   (0x004+M32R_MFT_OFFSET) /* MFT real port */
 
#define M32R_MFT0_OFFSET   (0x100+M32R_MFT_OFFSET)
 
#define M32R_MFT0MOD_PORTL   (0x00+M32R_MFT0_OFFSET) /* MFT0 mode */
 
#define M32R_MFT0BOS_PORTL   (0x04+M32R_MFT0_OFFSET) /* MFT0 b-port output status */
 
#define M32R_MFT0CUT_PORTL   (0x08+M32R_MFT0_OFFSET) /* MFT0 count */
 
#define M32R_MFT0RLD_PORTL   (0x0C+M32R_MFT0_OFFSET) /* MFT0 reload */
 
#define M32R_MFT0CMPRLD_PORTL   (0x10+M32R_MFT0_OFFSET) /* MFT0 compare reload */
 
#define M32R_MFT1_OFFSET   (0x200+M32R_MFT_OFFSET)
 
#define M32R_MFT1MOD_PORTL   (0x00+M32R_MFT1_OFFSET) /* MFT1 mode */
 
#define M32R_MFT1BOS_PORTL   (0x04+M32R_MFT1_OFFSET) /* MFT1 b-port output status */
 
#define M32R_MFT1CUT_PORTL   (0x08+M32R_MFT1_OFFSET) /* MFT1 count */
 
#define M32R_MFT1RLD_PORTL   (0x0C+M32R_MFT1_OFFSET) /* MFT1 reload */
 
#define M32R_MFT1CMPRLD_PORTL   (0x10+M32R_MFT1_OFFSET) /* MFT1 compare reload */
 
#define M32R_MFT2_OFFSET   (0x300+M32R_MFT_OFFSET)
 
#define M32R_MFT2MOD_PORTL   (0x00+M32R_MFT2_OFFSET) /* MFT2 mode */
 
#define M32R_MFT2BOS_PORTL   (0x04+M32R_MFT2_OFFSET) /* MFT2 b-port output status */
 
#define M32R_MFT2CUT_PORTL   (0x08+M32R_MFT2_OFFSET) /* MFT2 count */
 
#define M32R_MFT2RLD_PORTL   (0x0C+M32R_MFT2_OFFSET) /* MFT2 reload */
 
#define M32R_MFT2CMPRLD_PORTL   (0x10+M32R_MFT2_OFFSET) /* MFT2 compare reload */
 
#define M32R_MFT3_OFFSET   (0x400+M32R_MFT_OFFSET)
 
#define M32R_MFT3MOD_PORTL   (0x00+M32R_MFT3_OFFSET) /* MFT3 mode */
 
#define M32R_MFT3BOS_PORTL   (0x04+M32R_MFT3_OFFSET) /* MFT3 b-port output status */
 
#define M32R_MFT3CUT_PORTL   (0x08+M32R_MFT3_OFFSET) /* MFT3 count */
 
#define M32R_MFT3RLD_PORTL   (0x0C+M32R_MFT3_OFFSET) /* MFT3 reload */
 
#define M32R_MFT3CMPRLD_PORTL   (0x10+M32R_MFT3_OFFSET) /* MFT3 compare reload */
 
#define M32R_MFT4_OFFSET   (0x500+M32R_MFT_OFFSET)
 
#define M32R_MFT4MOD_PORTL   (0x00+M32R_MFT4_OFFSET) /* MFT4 mode */
 
#define M32R_MFT4BOS_PORTL   (0x04+M32R_MFT4_OFFSET) /* MFT4 b-port output status */
 
#define M32R_MFT4CUT_PORTL   (0x08+M32R_MFT4_OFFSET) /* MFT4 count */
 
#define M32R_MFT4RLD_PORTL   (0x0C+M32R_MFT4_OFFSET) /* MFT4 reload */
 
#define M32R_MFT4CMPRLD_PORTL   (0x10+M32R_MFT4_OFFSET) /* MFT4 compare reload */
 
#define M32R_MFT5_OFFSET   (0x600+M32R_MFT_OFFSET)
 
#define M32R_MFT5MOD_PORTL   (0x00+M32R_MFT5_OFFSET) /* MFT4 mode */
 
#define M32R_MFT5BOS_PORTL   (0x04+M32R_MFT5_OFFSET) /* MFT4 b-port output status */
 
#define M32R_MFT5CUT_PORTL   (0x08+M32R_MFT5_OFFSET) /* MFT4 count */
 
#define M32R_MFT5RLD_PORTL   (0x0C+M32R_MFT5_OFFSET) /* MFT4 reload */
 
#define M32R_MFT5CMPRLD_PORTL   (0x10+M32R_MFT5_OFFSET) /* MFT4 compare reload */
 
#define M32R_MFTCR_MFT0MSK   (1UL<<15) /* b16 */
 
#define M32R_MFTCR_MFT1MSK   (1UL<<14) /* b17 */
 
#define M32R_MFTCR_MFT2MSK   (1UL<<13) /* b18 */
 
#define M32R_MFTCR_MFT3MSK   (1UL<<12) /* b19 */
 
#define M32R_MFTCR_MFT4MSK   (1UL<<11) /* b20 */
 
#define M32R_MFTCR_MFT5MSK   (1UL<<10) /* b21 */
 
#define M32R_MFTCR_MFT0EN   (1UL<<7) /* b24 */
 
#define M32R_MFTCR_MFT1EN   (1UL<<6) /* b25 */
 
#define M32R_MFTCR_MFT2EN   (1UL<<5) /* b26 */
 
#define M32R_MFTCR_MFT3EN   (1UL<<4) /* b27 */
 
#define M32R_MFTCR_MFT4EN   (1UL<<3) /* b28 */
 
#define M32R_MFTCR_MFT5EN   (1UL<<2) /* b29 */
 
#define M32R_MFTMOD_CC_MASK   (1UL<<15) /* b16 */
 
#define M32R_MFTMOD_TCCR   (1UL<<13) /* b18 */
 
#define M32R_MFTMOD_GTSEL000   (0UL<<8) /* b21-23 : 000 */
 
#define M32R_MFTMOD_GTSEL001   (1UL<<8) /* b21-23 : 001 */
 
#define M32R_MFTMOD_GTSEL010   (2UL<<8) /* b21-23 : 010 */
 
#define M32R_MFTMOD_GTSEL011   (3UL<<8) /* b21-23 : 011 */
 
#define M32R_MFTMOD_GTSEL110   (6UL<<8) /* b21-23 : 110 */
 
#define M32R_MFTMOD_GTSEL111   (7UL<<8) /* b21-23 : 111 */
 
#define M32R_MFTMOD_CMSEL   (1UL<<3) /* b28 */
 
#define M32R_MFTMOD_CSSEL000   (0UL<<0) /* b29-b31 : 000 */
 
#define M32R_MFTMOD_CSSEL001   (1UL<<0) /* b29-b31 : 001 */
 
#define M32R_MFTMOD_CSSEL010   (2UL<<0) /* b29-b31 : 010 */
 
#define M32R_MFTMOD_CSSEL011   (3UL<<0) /* b29-b31 : 011 */
 
#define M32R_MFTMOD_CSSEL100   (4UL<<0) /* b29-b31 : 100 */
 
#define M32R_MFTMOD_CSSEL110   (6UL<<0) /* b29-b31 : 110 */
 
#define M32R_SIO_OFFSET   (0x000FD000+M32R_SFR_OFFSET)
 
#define M32R_SIO0_CR_PORTL   (0x000+M32R_SIO_OFFSET)
 
#define M32R_SIO0_MOD0_PORTL   (0x004+M32R_SIO_OFFSET)
 
#define M32R_SIO0_MOD1_PORTL   (0x008+M32R_SIO_OFFSET)
 
#define M32R_SIO0_STS_PORTL   (0x00C+M32R_SIO_OFFSET)
 
#define M32R_SIO0_TRCR_PORTL   (0x010+M32R_SIO_OFFSET)
 
#define M32R_SIO0_BAUR_PORTL   (0x014+M32R_SIO_OFFSET)
 
#define M32R_SIO0_RBAUR_PORTL   (0x018+M32R_SIO_OFFSET)
 
#define M32R_SIO0_TXB_PORTL   (0x01C+M32R_SIO_OFFSET)
 
#define M32R_SIO0_RXB_PORTL   (0x020+M32R_SIO_OFFSET)
 
#define M32R_ICU_OFFSET   (0x000FF000+M32R_SFR_OFFSET)
 
#define M32R_ICU_ISTS_PORTL   (0x004+M32R_ICU_OFFSET)
 
#define M32R_ICU_IREQ0_PORTL   (0x008+M32R_ICU_OFFSET)
 
#define M32R_ICU_IREQ1_PORTL   (0x00C+M32R_ICU_OFFSET)
 
#define M32R_ICU_SBICR_PORTL   (0x018+M32R_ICU_OFFSET)
 
#define M32R_ICU_IMASK_PORTL   (0x01C+M32R_ICU_OFFSET)
 
#define M32R_ICU_CR1_PORTL   (0x200+M32R_ICU_OFFSET) /* INT0 */
 
#define M32R_ICU_CR2_PORTL   (0x204+M32R_ICU_OFFSET) /* INT1 */
 
#define M32R_ICU_CR3_PORTL   (0x208+M32R_ICU_OFFSET) /* INT2 */
 
#define M32R_ICU_CR4_PORTL   (0x20C+M32R_ICU_OFFSET) /* INT3 */
 
#define M32R_ICU_CR5_PORTL   (0x210+M32R_ICU_OFFSET) /* INT4 */
 
#define M32R_ICU_CR6_PORTL   (0x214+M32R_ICU_OFFSET) /* INT5 */
 
#define M32R_ICU_CR7_PORTL   (0x218+M32R_ICU_OFFSET) /* INT6 */
 
#define M32R_ICU_CR8_PORTL   (0x219+M32R_ICU_OFFSET) /* INT7 */
 
#define M32R_ICU_CR16_PORTL   (0x23C+M32R_ICU_OFFSET) /* MFT0 */
 
#define M32R_ICU_CR17_PORTL   (0x240+M32R_ICU_OFFSET) /* MFT1 */
 
#define M32R_ICU_CR18_PORTL   (0x244+M32R_ICU_OFFSET) /* MFT2 */
 
#define M32R_ICU_CR19_PORTL   (0x248+M32R_ICU_OFFSET) /* MFT3 */
 
#define M32R_ICU_CR20_PORTL   (0x24C+M32R_ICU_OFFSET) /* MFT4 */
 
#define M32R_ICU_CR21_PORTL   (0x250+M32R_ICU_OFFSET) /* MFT5 */
 
#define M32R_ICU_CR32_PORTL   (0x27C+M32R_ICU_OFFSET) /* DMA0 */
 
#define M32R_ICU_CR33_PORTL   (0x280+M32R_ICU_OFFSET) /* DMA1 */
 
#define M32R_ICU_CR48_PORTL   (0x2BC+M32R_ICU_OFFSET) /* SIO0 */
 
#define M32R_ICU_CR49_PORTL   (0x2C0+M32R_ICU_OFFSET) /* SIO0 */
 
#define M32R_ICU_CR50_PORTL   (0x2C4+M32R_ICU_OFFSET) /* SIO1 */
 
#define M32R_ICU_CR51_PORTL   (0x2C8+M32R_ICU_OFFSET) /* SIO1 */
 
#define M32R_ICU_CR52_PORTL   (0x2CC+M32R_ICU_OFFSET) /* SIO2 */
 
#define M32R_ICU_CR53_PORTL   (0x2D0+M32R_ICU_OFFSET) /* SIO2 */
 
#define M32R_ICU_CR54_PORTL   (0x2D4+M32R_ICU_OFFSET) /* SIO3 */
 
#define M32R_ICU_CR55_PORTL   (0x2D8+M32R_ICU_OFFSET) /* SIO3 */
 
#define M32R_ICU_CR56_PORTL   (0x2DC+M32R_ICU_OFFSET) /* SIO4 */
 
#define M32R_ICU_CR57_PORTL   (0x2E0+M32R_ICU_OFFSET) /* SIO4 */
 
#define M32R_ICUIMASK_IMSK0   (0UL<<16) /* b13-b15: Disable interrupt */
 
#define M32R_ICUIMASK_IMSK1   (1UL<<16) /* b13-b15: Enable level 0 interrupt */
 
#define M32R_ICUIMASK_IMSK2   (2UL<<16) /* b13-b15: Enable level 0,1 interrupt */
 
#define M32R_ICUIMASK_IMSK3   (3UL<<16) /* b13-b15: Enable level 0-2 interrupt */
 
#define M32R_ICUIMASK_IMSK4   (4UL<<16) /* b13-b15: Enable level 0-3 interrupt */
 
#define M32R_ICUIMASK_IMSK5   (5UL<<16) /* b13-b15: Enable level 0-4 interrupt */
 
#define M32R_ICUIMASK_IMSK6   (6UL<<16) /* b13-b15: Enable level 0-5 interrupt */
 
#define M32R_ICUIMASK_IMSK7   (7UL<<16) /* b13-b15: Enable level 0-6 interrupt */
 
#define M32R_ICUCR_IEN   (1UL<<12) /* b19: Interrupt enable */
 
#define M32R_ICUCR_IRQ   (1UL<<8) /* b23: Interrupt request */
 
#define M32R_ICUCR_ISMOD00   (0UL<<4) /* b26-b27: Interrupt sense mode Edge HtoL */
 
#define M32R_ICUCR_ISMOD01   (1UL<<4) /* b26-b27: Interrupt sense mode Level L */
 
#define M32R_ICUCR_ISMOD10   (2UL<<4) /* b26-b27: Interrupt sense mode Edge LtoH*/
 
#define M32R_ICUCR_ISMOD11   (3UL<<4) /* b26-b27: Interrupt sense mode Level H */
 
#define M32R_ICUCR_ILEVEL0   (0UL<<0) /* b29-b31: Interrupt priority level 0 */
 
#define M32R_ICUCR_ILEVEL1   (1UL<<0) /* b29-b31: Interrupt priority level 1 */
 
#define M32R_ICUCR_ILEVEL2   (2UL<<0) /* b29-b31: Interrupt priority level 2 */
 
#define M32R_ICUCR_ILEVEL3   (3UL<<0) /* b29-b31: Interrupt priority level 3 */
 
#define M32R_ICUCR_ILEVEL4   (4UL<<0) /* b29-b31: Interrupt priority level 4 */
 
#define M32R_ICUCR_ILEVEL5   (5UL<<0) /* b29-b31: Interrupt priority level 5 */
 
#define M32R_ICUCR_ILEVEL6   (6UL<<0) /* b29-b31: Interrupt priority level 6 */
 
#define M32R_ICUCR_ILEVEL7   (7UL<<0) /* b29-b31: Disable interrupt */
 
#define M32R_IRQ_INT0   (1) /* INT0 */
 
#define M32R_IRQ_INT1   (2) /* INT1 */
 
#define M32R_IRQ_INT2   (3) /* INT2 */
 
#define M32R_IRQ_INT3   (4) /* INT3 */
 
#define M32R_IRQ_INT4   (5) /* INT4 */
 
#define M32R_IRQ_INT5   (6) /* INT5 */
 
#define M32R_IRQ_INT6   (7) /* INT6 */
 
#define M32R_IRQ_MFT0   (16) /* MFT0 */
 
#define M32R_IRQ_MFT1   (17) /* MFT1 */
 
#define M32R_IRQ_MFT2   (18) /* MFT2 */
 
#define M32R_IRQ_MFT3   (19) /* MFT3 */
 
#define M32R_IRQ_DMA0   (32) /* DMA0 */
 
#define M32R_IRQ_DMA1   (33) /* DMA1 */
 
#define M32R_IRQ_SIO0_R   (48) /* SIO0 send */
 
#define M32R_IRQ_SIO0_S   (49) /* SIO0 receive */
 
#define M32R_IRQ_SIO1_R   (50) /* SIO1 send */
 
#define M32R_IRQ_SIO1_S   (51) /* SIO1 receive */
 
#define M32R_IRQ_SIO2_R   (52) /* SIO2 send */
 
#define M32R_IRQ_SIO2_S   (53) /* SIO2 receive */
 
#define M32R_IRQ_SIO3_R   (54) /* SIO3 send */
 
#define M32R_IRQ_SIO3_S   (55) /* SIO3 receive */
 
#define M32R_IRQ_SIO4_R   (56) /* SIO4 send */
 
#define M32R_IRQ_SIO4_S   (57) /* SIO4 receive */
 

Macro Definition Documentation

#define M32R_CPM_CLKMOD_PORTL   (0x04+M32R_CPM_OFFSET)

Definition at line 26 of file m32102.h.

#define M32R_CPM_CPUCLKCR_PORTL   (0x00+M32R_CPM_OFFSET)

Definition at line 25 of file m32102.h.

#define M32R_CPM_OFFSET   (0x000F4000+M32R_SFR_OFFSET)

Definition at line 23 of file m32102.h.

#define M32R_CPM_PLLCR_PORTL   (0x08+M32R_CPM_OFFSET)

Definition at line 27 of file m32102.h.

#define M32R_DMA0CBCUT_PORTL   (0x118+M32R_DMA_OFFSET)

Definition at line 45 of file m32102.h.

#define M32R_DMA0CDA_PORTL   (0x110+M32R_DMA_OFFSET)

Definition at line 43 of file m32102.h.

#define M32R_DMA0CR0_PORTL   (0x100+M32R_DMA_OFFSET)

Definition at line 39 of file m32102.h.

#define M32R_DMA0CR1_PORTL   (0x104+M32R_DMA_OFFSET)

Definition at line 40 of file m32102.h.

#define M32R_DMA0CSA_PORTL   (0x108+M32R_DMA_OFFSET)

Definition at line 41 of file m32102.h.

#define M32R_DMA0RBCUT_PORTL   (0x11c+M32R_DMA_OFFSET)

Definition at line 46 of file m32102.h.

#define M32R_DMA0RDA_PORTL   (0x114+M32R_DMA_OFFSET)

Definition at line 44 of file m32102.h.

#define M32R_DMA0RSA_PORTL   (0x10c+M32R_DMA_OFFSET)

Definition at line 42 of file m32102.h.

#define M32R_DMA1CBCUT_PORTL   (0x218+M32R_DMA_OFFSET)

Definition at line 54 of file m32102.h.

#define M32R_DMA1CDA_PORTL   (0x210+M32R_DMA_OFFSET)

Definition at line 52 of file m32102.h.

#define M32R_DMA1CR0_PORTL   (0x200+M32R_DMA_OFFSET)

Definition at line 48 of file m32102.h.

#define M32R_DMA1CR1_PORTL   (0x204+M32R_DMA_OFFSET)

Definition at line 49 of file m32102.h.

#define M32R_DMA1CSA_PORTL   (0x208+M32R_DMA_OFFSET)

Definition at line 50 of file m32102.h.

#define M32R_DMA1RBCUT_PORTL   (0x21c+M32R_DMA_OFFSET)

Definition at line 55 of file m32102.h.

#define M32R_DMA1RDA_PORTL   (0x214+M32R_DMA_OFFSET)

Definition at line 53 of file m32102.h.

#define M32R_DMA1RSA_PORTL   (0x20c+M32R_DMA_OFFSET)

Definition at line 51 of file m32102.h.

#define M32R_DMA_OFFSET   (0x000F8000+M32R_SFR_OFFSET)

Definition at line 32 of file m32102.h.

#define M32R_DMAASTS_PORTL   (0x00c+M32R_DMA_OFFSET)

Definition at line 37 of file m32102.h.

#define M32R_DMAEDET_PORTL   (0x008+M32R_DMA_OFFSET)

Definition at line 36 of file m32102.h.

#define M32R_DMAEN_PORTL   (0x000+M32R_DMA_OFFSET)

Definition at line 34 of file m32102.h.

#define M32R_DMAISTS_PORTL   (0x004+M32R_DMA_OFFSET)

Definition at line 35 of file m32102.h.

#define M32R_ICU_CR16_PORTL   (0x23C+M32R_ICU_OFFSET) /* MFT0 */

Definition at line 184 of file m32102.h.

#define M32R_ICU_CR17_PORTL   (0x240+M32R_ICU_OFFSET) /* MFT1 */

Definition at line 185 of file m32102.h.

#define M32R_ICU_CR18_PORTL   (0x244+M32R_ICU_OFFSET) /* MFT2 */

Definition at line 186 of file m32102.h.

#define M32R_ICU_CR19_PORTL   (0x248+M32R_ICU_OFFSET) /* MFT3 */

Definition at line 187 of file m32102.h.

#define M32R_ICU_CR1_PORTL   (0x200+M32R_ICU_OFFSET) /* INT0 */

Definition at line 176 of file m32102.h.

#define M32R_ICU_CR20_PORTL   (0x24C+M32R_ICU_OFFSET) /* MFT4 */

Definition at line 188 of file m32102.h.

#define M32R_ICU_CR21_PORTL   (0x250+M32R_ICU_OFFSET) /* MFT5 */

Definition at line 189 of file m32102.h.

#define M32R_ICU_CR2_PORTL   (0x204+M32R_ICU_OFFSET) /* INT1 */

Definition at line 177 of file m32102.h.

#define M32R_ICU_CR32_PORTL   (0x27C+M32R_ICU_OFFSET) /* DMA0 */

Definition at line 190 of file m32102.h.

#define M32R_ICU_CR33_PORTL   (0x280+M32R_ICU_OFFSET) /* DMA1 */

Definition at line 191 of file m32102.h.

#define M32R_ICU_CR3_PORTL   (0x208+M32R_ICU_OFFSET) /* INT2 */

Definition at line 178 of file m32102.h.

#define M32R_ICU_CR48_PORTL   (0x2BC+M32R_ICU_OFFSET) /* SIO0 */

Definition at line 192 of file m32102.h.

#define M32R_ICU_CR49_PORTL   (0x2C0+M32R_ICU_OFFSET) /* SIO0 */

Definition at line 193 of file m32102.h.

#define M32R_ICU_CR4_PORTL   (0x20C+M32R_ICU_OFFSET) /* INT3 */

Definition at line 179 of file m32102.h.

#define M32R_ICU_CR50_PORTL   (0x2C4+M32R_ICU_OFFSET) /* SIO1 */

Definition at line 194 of file m32102.h.

#define M32R_ICU_CR51_PORTL   (0x2C8+M32R_ICU_OFFSET) /* SIO1 */

Definition at line 195 of file m32102.h.

#define M32R_ICU_CR52_PORTL   (0x2CC+M32R_ICU_OFFSET) /* SIO2 */

Definition at line 196 of file m32102.h.

#define M32R_ICU_CR53_PORTL   (0x2D0+M32R_ICU_OFFSET) /* SIO2 */

Definition at line 197 of file m32102.h.

#define M32R_ICU_CR54_PORTL   (0x2D4+M32R_ICU_OFFSET) /* SIO3 */

Definition at line 198 of file m32102.h.

#define M32R_ICU_CR55_PORTL   (0x2D8+M32R_ICU_OFFSET) /* SIO3 */

Definition at line 199 of file m32102.h.

#define M32R_ICU_CR56_PORTL   (0x2DC+M32R_ICU_OFFSET) /* SIO4 */

Definition at line 200 of file m32102.h.

#define M32R_ICU_CR57_PORTL   (0x2E0+M32R_ICU_OFFSET) /* SIO4 */

Definition at line 201 of file m32102.h.

#define M32R_ICU_CR5_PORTL   (0x210+M32R_ICU_OFFSET) /* INT4 */

Definition at line 180 of file m32102.h.

#define M32R_ICU_CR6_PORTL   (0x214+M32R_ICU_OFFSET) /* INT5 */

Definition at line 181 of file m32102.h.

#define M32R_ICU_CR7_PORTL   (0x218+M32R_ICU_OFFSET) /* INT6 */

Definition at line 182 of file m32102.h.

#define M32R_ICU_CR8_PORTL   (0x219+M32R_ICU_OFFSET) /* INT7 */

Definition at line 183 of file m32102.h.

#define M32R_ICU_IMASK_PORTL   (0x01C+M32R_ICU_OFFSET)

Definition at line 175 of file m32102.h.

#define M32R_ICU_IREQ0_PORTL   (0x008+M32R_ICU_OFFSET)

Definition at line 172 of file m32102.h.

#define M32R_ICU_IREQ1_PORTL   (0x00C+M32R_ICU_OFFSET)

Definition at line 173 of file m32102.h.

#define M32R_ICU_ISTS_PORTL   (0x004+M32R_ICU_OFFSET)

Definition at line 171 of file m32102.h.

#define M32R_ICU_OFFSET   (0x000FF000+M32R_SFR_OFFSET)

Definition at line 170 of file m32102.h.

#define M32R_ICU_SBICR_PORTL   (0x018+M32R_ICU_OFFSET)

Definition at line 174 of file m32102.h.

#define M32R_ICUCR_IEN   (1UL<<12) /* b19: Interrupt enable */

Definition at line 223 of file m32102.h.

#define M32R_ICUCR_ILEVEL0   (0UL<<0) /* b29-b31: Interrupt priority level 0 */

Definition at line 229 of file m32102.h.

#define M32R_ICUCR_ILEVEL1   (1UL<<0) /* b29-b31: Interrupt priority level 1 */

Definition at line 230 of file m32102.h.

#define M32R_ICUCR_ILEVEL2   (2UL<<0) /* b29-b31: Interrupt priority level 2 */

Definition at line 231 of file m32102.h.

#define M32R_ICUCR_ILEVEL3   (3UL<<0) /* b29-b31: Interrupt priority level 3 */

Definition at line 232 of file m32102.h.

#define M32R_ICUCR_ILEVEL4   (4UL<<0) /* b29-b31: Interrupt priority level 4 */

Definition at line 233 of file m32102.h.

#define M32R_ICUCR_ILEVEL5   (5UL<<0) /* b29-b31: Interrupt priority level 5 */

Definition at line 234 of file m32102.h.

#define M32R_ICUCR_ILEVEL6   (6UL<<0) /* b29-b31: Interrupt priority level 6 */

Definition at line 235 of file m32102.h.

#define M32R_ICUCR_ILEVEL7   (7UL<<0) /* b29-b31: Disable interrupt */

Definition at line 236 of file m32102.h.

#define M32R_ICUCR_IRQ   (1UL<<8) /* b23: Interrupt request */

Definition at line 224 of file m32102.h.

#define M32R_ICUCR_ISMOD00   (0UL<<4) /* b26-b27: Interrupt sense mode Edge HtoL */

Definition at line 225 of file m32102.h.

#define M32R_ICUCR_ISMOD01   (1UL<<4) /* b26-b27: Interrupt sense mode Level L */

Definition at line 226 of file m32102.h.

#define M32R_ICUCR_ISMOD10   (2UL<<4) /* b26-b27: Interrupt sense mode Edge LtoH*/

Definition at line 227 of file m32102.h.

#define M32R_ICUCR_ISMOD11   (3UL<<4) /* b26-b27: Interrupt sense mode Level H */

Definition at line 228 of file m32102.h.

#define M32R_ICUIMASK_IMSK0   (0UL<<16) /* b13-b15: Disable interrupt */

Definition at line 214 of file m32102.h.

#define M32R_ICUIMASK_IMSK1   (1UL<<16) /* b13-b15: Enable level 0 interrupt */

Definition at line 215 of file m32102.h.

#define M32R_ICUIMASK_IMSK2   (2UL<<16) /* b13-b15: Enable level 0,1 interrupt */

Definition at line 216 of file m32102.h.

#define M32R_ICUIMASK_IMSK3   (3UL<<16) /* b13-b15: Enable level 0-2 interrupt */

Definition at line 217 of file m32102.h.

#define M32R_ICUIMASK_IMSK4   (4UL<<16) /* b13-b15: Enable level 0-3 interrupt */

Definition at line 218 of file m32102.h.

#define M32R_ICUIMASK_IMSK5   (5UL<<16) /* b13-b15: Enable level 0-4 interrupt */

Definition at line 219 of file m32102.h.

#define M32R_ICUIMASK_IMSK6   (6UL<<16) /* b13-b15: Enable level 0-5 interrupt */

Definition at line 220 of file m32102.h.

#define M32R_ICUIMASK_IMSK7   (7UL<<16) /* b13-b15: Enable level 0-6 interrupt */

Definition at line 221 of file m32102.h.

#define M32R_IRQ_DMA0   (32) /* DMA0 */

Definition at line 267 of file m32102.h.

#define M32R_IRQ_DMA1   (33) /* DMA1 */

Definition at line 268 of file m32102.h.

#define M32R_IRQ_INT0   (1) /* INT0 */

Definition at line 238 of file m32102.h.

#define M32R_IRQ_INT1   (2) /* INT1 */

Definition at line 239 of file m32102.h.

#define M32R_IRQ_INT2   (3) /* INT2 */

Definition at line 240 of file m32102.h.

#define M32R_IRQ_INT3   (4) /* INT3 */

Definition at line 241 of file m32102.h.

#define M32R_IRQ_INT4   (5) /* INT4 */

Definition at line 242 of file m32102.h.

#define M32R_IRQ_INT5   (6) /* INT5 */

Definition at line 243 of file m32102.h.

#define M32R_IRQ_INT6   (7) /* INT6 */

Definition at line 244 of file m32102.h.

#define M32R_IRQ_MFT0   (16) /* MFT0 */

Definition at line 245 of file m32102.h.

#define M32R_IRQ_MFT1   (17) /* MFT1 */

Definition at line 246 of file m32102.h.

#define M32R_IRQ_MFT2   (18) /* MFT2 */

Definition at line 247 of file m32102.h.

#define M32R_IRQ_MFT3   (19) /* MFT3 */

Definition at line 248 of file m32102.h.

#define M32R_IRQ_SIO0_R   (48) /* SIO0 send */

Definition at line 269 of file m32102.h.

#define M32R_IRQ_SIO0_S   (49) /* SIO0 receive */

Definition at line 270 of file m32102.h.

#define M32R_IRQ_SIO1_R   (50) /* SIO1 send */

Definition at line 271 of file m32102.h.

#define M32R_IRQ_SIO1_S   (51) /* SIO1 receive */

Definition at line 272 of file m32102.h.

#define M32R_IRQ_SIO2_R   (52) /* SIO2 send */

Definition at line 273 of file m32102.h.

#define M32R_IRQ_SIO2_S   (53) /* SIO2 receive */

Definition at line 274 of file m32102.h.

#define M32R_IRQ_SIO3_R   (54) /* SIO3 send */

Definition at line 275 of file m32102.h.

#define M32R_IRQ_SIO3_S   (55) /* SIO3 receive */

Definition at line 276 of file m32102.h.

#define M32R_IRQ_SIO4_R   (56) /* SIO4 send */

Definition at line 277 of file m32102.h.

#define M32R_IRQ_SIO4_S   (57) /* SIO4 receive */

Definition at line 278 of file m32102.h.

#define M32R_MFT0_OFFSET   (0x100+M32R_MFT_OFFSET)

Definition at line 65 of file m32102.h.

#define M32R_MFT0BOS_PORTL   (0x04+M32R_MFT0_OFFSET) /* MFT0 b-port output status */

Definition at line 67 of file m32102.h.

#define M32R_MFT0CMPRLD_PORTL   (0x10+M32R_MFT0_OFFSET) /* MFT0 compare reload */

Definition at line 70 of file m32102.h.

#define M32R_MFT0CUT_PORTL   (0x08+M32R_MFT0_OFFSET) /* MFT0 count */

Definition at line 68 of file m32102.h.

#define M32R_MFT0MOD_PORTL   (0x00+M32R_MFT0_OFFSET) /* MFT0 mode */

Definition at line 66 of file m32102.h.

#define M32R_MFT0RLD_PORTL   (0x0C+M32R_MFT0_OFFSET) /* MFT0 reload */

Definition at line 69 of file m32102.h.

#define M32R_MFT1_OFFSET   (0x200+M32R_MFT_OFFSET)

Definition at line 72 of file m32102.h.

#define M32R_MFT1BOS_PORTL   (0x04+M32R_MFT1_OFFSET) /* MFT1 b-port output status */

Definition at line 74 of file m32102.h.

#define M32R_MFT1CMPRLD_PORTL   (0x10+M32R_MFT1_OFFSET) /* MFT1 compare reload */

Definition at line 77 of file m32102.h.

#define M32R_MFT1CUT_PORTL   (0x08+M32R_MFT1_OFFSET) /* MFT1 count */

Definition at line 75 of file m32102.h.

#define M32R_MFT1MOD_PORTL   (0x00+M32R_MFT1_OFFSET) /* MFT1 mode */

Definition at line 73 of file m32102.h.

#define M32R_MFT1RLD_PORTL   (0x0C+M32R_MFT1_OFFSET) /* MFT1 reload */

Definition at line 76 of file m32102.h.

#define M32R_MFT2_OFFSET   (0x300+M32R_MFT_OFFSET)

Definition at line 79 of file m32102.h.

#define M32R_MFT2BOS_PORTL   (0x04+M32R_MFT2_OFFSET) /* MFT2 b-port output status */

Definition at line 81 of file m32102.h.

#define M32R_MFT2CMPRLD_PORTL   (0x10+M32R_MFT2_OFFSET) /* MFT2 compare reload */

Definition at line 84 of file m32102.h.

#define M32R_MFT2CUT_PORTL   (0x08+M32R_MFT2_OFFSET) /* MFT2 count */

Definition at line 82 of file m32102.h.

#define M32R_MFT2MOD_PORTL   (0x00+M32R_MFT2_OFFSET) /* MFT2 mode */

Definition at line 80 of file m32102.h.

#define M32R_MFT2RLD_PORTL   (0x0C+M32R_MFT2_OFFSET) /* MFT2 reload */

Definition at line 83 of file m32102.h.

#define M32R_MFT3_OFFSET   (0x400+M32R_MFT_OFFSET)

Definition at line 86 of file m32102.h.

#define M32R_MFT3BOS_PORTL   (0x04+M32R_MFT3_OFFSET) /* MFT3 b-port output status */

Definition at line 88 of file m32102.h.

#define M32R_MFT3CMPRLD_PORTL   (0x10+M32R_MFT3_OFFSET) /* MFT3 compare reload */

Definition at line 91 of file m32102.h.

#define M32R_MFT3CUT_PORTL   (0x08+M32R_MFT3_OFFSET) /* MFT3 count */

Definition at line 89 of file m32102.h.

#define M32R_MFT3MOD_PORTL   (0x00+M32R_MFT3_OFFSET) /* MFT3 mode */

Definition at line 87 of file m32102.h.

#define M32R_MFT3RLD_PORTL   (0x0C+M32R_MFT3_OFFSET) /* MFT3 reload */

Definition at line 90 of file m32102.h.

#define M32R_MFT4_OFFSET   (0x500+M32R_MFT_OFFSET)

Definition at line 93 of file m32102.h.

#define M32R_MFT4BOS_PORTL   (0x04+M32R_MFT4_OFFSET) /* MFT4 b-port output status */

Definition at line 95 of file m32102.h.

#define M32R_MFT4CMPRLD_PORTL   (0x10+M32R_MFT4_OFFSET) /* MFT4 compare reload */

Definition at line 98 of file m32102.h.

#define M32R_MFT4CUT_PORTL   (0x08+M32R_MFT4_OFFSET) /* MFT4 count */

Definition at line 96 of file m32102.h.

#define M32R_MFT4MOD_PORTL   (0x00+M32R_MFT4_OFFSET) /* MFT4 mode */

Definition at line 94 of file m32102.h.

#define M32R_MFT4RLD_PORTL   (0x0C+M32R_MFT4_OFFSET) /* MFT4 reload */

Definition at line 97 of file m32102.h.

#define M32R_MFT5_OFFSET   (0x600+M32R_MFT_OFFSET)

Definition at line 100 of file m32102.h.

#define M32R_MFT5BOS_PORTL   (0x04+M32R_MFT5_OFFSET) /* MFT4 b-port output status */

Definition at line 102 of file m32102.h.

#define M32R_MFT5CMPRLD_PORTL   (0x10+M32R_MFT5_OFFSET) /* MFT4 compare reload */

Definition at line 105 of file m32102.h.

#define M32R_MFT5CUT_PORTL   (0x08+M32R_MFT5_OFFSET) /* MFT4 count */

Definition at line 103 of file m32102.h.

#define M32R_MFT5MOD_PORTL   (0x00+M32R_MFT5_OFFSET) /* MFT4 mode */

Definition at line 101 of file m32102.h.

#define M32R_MFT5RLD_PORTL   (0x0C+M32R_MFT5_OFFSET) /* MFT4 reload */

Definition at line 104 of file m32102.h.

#define M32R_MFT_OFFSET   (0x000FC000+M32R_SFR_OFFSET)

Definition at line 60 of file m32102.h.

#define M32R_MFTCR_MFT0EN   (1UL<<7) /* b24 */

Definition at line 128 of file m32102.h.

#define M32R_MFTCR_MFT0MSK   (1UL<<15) /* b16 */

Definition at line 122 of file m32102.h.

#define M32R_MFTCR_MFT1EN   (1UL<<6) /* b25 */

Definition at line 129 of file m32102.h.

#define M32R_MFTCR_MFT1MSK   (1UL<<14) /* b17 */

Definition at line 123 of file m32102.h.

#define M32R_MFTCR_MFT2EN   (1UL<<5) /* b26 */

Definition at line 130 of file m32102.h.

#define M32R_MFTCR_MFT2MSK   (1UL<<13) /* b18 */

Definition at line 124 of file m32102.h.

#define M32R_MFTCR_MFT3EN   (1UL<<4) /* b27 */

Definition at line 131 of file m32102.h.

#define M32R_MFTCR_MFT3MSK   (1UL<<12) /* b19 */

Definition at line 125 of file m32102.h.

#define M32R_MFTCR_MFT4EN   (1UL<<3) /* b28 */

Definition at line 132 of file m32102.h.

#define M32R_MFTCR_MFT4MSK   (1UL<<11) /* b20 */

Definition at line 126 of file m32102.h.

#define M32R_MFTCR_MFT5EN   (1UL<<2) /* b29 */

Definition at line 133 of file m32102.h.

#define M32R_MFTCR_MFT5MSK   (1UL<<10) /* b21 */

Definition at line 127 of file m32102.h.

#define M32R_MFTCR_PORTL   (0x000+M32R_MFT_OFFSET) /* MFT control */

Definition at line 62 of file m32102.h.

#define M32R_MFTMOD_CC_MASK   (1UL<<15) /* b16 */

Definition at line 136 of file m32102.h.

#define M32R_MFTMOD_CMSEL   (1UL<<3) /* b28 */

Definition at line 144 of file m32102.h.

#define M32R_MFTMOD_CSSEL000   (0UL<<0) /* b29-b31 : 000 */

Definition at line 145 of file m32102.h.

#define M32R_MFTMOD_CSSEL001   (1UL<<0) /* b29-b31 : 001 */

Definition at line 146 of file m32102.h.

#define M32R_MFTMOD_CSSEL010   (2UL<<0) /* b29-b31 : 010 */

Definition at line 147 of file m32102.h.

#define M32R_MFTMOD_CSSEL011   (3UL<<0) /* b29-b31 : 011 */

Definition at line 148 of file m32102.h.

#define M32R_MFTMOD_CSSEL100   (4UL<<0) /* b29-b31 : 100 */

Definition at line 149 of file m32102.h.

#define M32R_MFTMOD_CSSEL110   (6UL<<0) /* b29-b31 : 110 */

Definition at line 150 of file m32102.h.

#define M32R_MFTMOD_GTSEL000   (0UL<<8) /* b21-23 : 000 */

Definition at line 138 of file m32102.h.

#define M32R_MFTMOD_GTSEL001   (1UL<<8) /* b21-23 : 001 */

Definition at line 139 of file m32102.h.

#define M32R_MFTMOD_GTSEL010   (2UL<<8) /* b21-23 : 010 */

Definition at line 140 of file m32102.h.

#define M32R_MFTMOD_GTSEL011   (3UL<<8) /* b21-23 : 011 */

Definition at line 141 of file m32102.h.

#define M32R_MFTMOD_GTSEL110   (6UL<<8) /* b21-23 : 110 */

Definition at line 142 of file m32102.h.

#define M32R_MFTMOD_GTSEL111   (7UL<<8) /* b21-23 : 111 */

Definition at line 143 of file m32102.h.

#define M32R_MFTMOD_TCCR   (1UL<<13) /* b18 */

Definition at line 137 of file m32102.h.

#define M32R_MFTRPR_PORTL   (0x004+M32R_MFT_OFFSET) /* MFT real port */

Definition at line 63 of file m32102.h.

#define M32R_SFR_OFFSET   (0x00E00000) /* 0x00E00000-0x00EFFFFF 1[MB] */

Definition at line 15 of file m32102.h.

#define M32R_SIO0_BAUR_PORTL   (0x014+M32R_SIO_OFFSET)

Definition at line 162 of file m32102.h.

#define M32R_SIO0_CR_PORTL   (0x000+M32R_SIO_OFFSET)

Definition at line 157 of file m32102.h.

#define M32R_SIO0_MOD0_PORTL   (0x004+M32R_SIO_OFFSET)

Definition at line 158 of file m32102.h.

#define M32R_SIO0_MOD1_PORTL   (0x008+M32R_SIO_OFFSET)

Definition at line 159 of file m32102.h.

#define M32R_SIO0_RBAUR_PORTL   (0x018+M32R_SIO_OFFSET)

Definition at line 163 of file m32102.h.

#define M32R_SIO0_RXB_PORTL   (0x020+M32R_SIO_OFFSET)

Definition at line 165 of file m32102.h.

#define M32R_SIO0_STS_PORTL   (0x00C+M32R_SIO_OFFSET)

Definition at line 160 of file m32102.h.

#define M32R_SIO0_TRCR_PORTL   (0x010+M32R_SIO_OFFSET)

Definition at line 161 of file m32102.h.

#define M32R_SIO0_TXB_PORTL   (0x01C+M32R_SIO_OFFSET)

Definition at line 164 of file m32102.h.

#define M32R_SIO_OFFSET   (0x000FD000+M32R_SFR_OFFSET)

Definition at line 155 of file m32102.h.