⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sc28l198.h

📁 Embedded Planet公司的ep8260单板计算机的BSP包(VxWorks)
💻 H
字号:
/* SC28L198.h - Phillips SC28L198 Octal UART driver */

#ifndef	__INCsc28l198h
#define	__INCsc28l198h

#ifdef __cplusplus
extern "C" {
#endif
    
/* Configuration of the devices in the system */
#define SC28L198_MAX_UARTS           2
#define SC28L198_CHAN_PER_UART       8

#define SC28L198_UART0_ADDR          0xE0000000
#define SC28L198_UART0_CHANS         8
#define SC28L198_UART0_INUM          INUM_PC12

#define SC28L198_UART1_ADDR          0xE0100000
#define SC28L198_UART1_CHANS_SBC3    4
#define SC28L198_UART1_CHANS_SBC4    8
#define SC28L198_UART1_INUM          INUM_PC13

#define SC28L198_NUM_CHANNELS_SBC3 \
         (SC28L198_UART0_CHANS+SC28L198_UART1_CHANS_SBC3)

#define SC28L198_NUM_CHANNELS_SBC4 \
         (SC28L198_UART0_CHANS+SC28L198_UART1_CHANS_SBC4)


STATUS sc28l198Drv(void);
STATUS sc28l198DevCreate(char *name, int channel, 
                         int baudRate, int dataBits, int stopBits, char *parity);

#ifdef __cplusplus
}
#endif

#endif	/* __INCsc28l198h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -