欢迎访问ic37.com |
会员登录 免费注册
发布采购

MEGA128CAN 参数 Datasheet PDF下载

MEGA128CAN图片预览
型号: MEGA128CAN
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有ISP功能的Flash和CAN控制器128K字节 [Microcontroller WITH 128K BYTES OF ISP FLASH AND CAN CONTROLLER]
分类和应用: 微控制器
文件页数/大小: 413 页 / 5507 K
品牌: ATMEL [ ATMEL ]
 浏览型号MEGA128CAN的Datasheet PDF文件第67页浏览型号MEGA128CAN的Datasheet PDF文件第68页浏览型号MEGA128CAN的Datasheet PDF文件第69页浏览型号MEGA128CAN的Datasheet PDF文件第70页浏览型号MEGA128CAN的Datasheet PDF文件第72页浏览型号MEGA128CAN的Datasheet PDF文件第73页浏览型号MEGA128CAN的Datasheet PDF文件第74页浏览型号MEGA128CAN的Datasheet PDF文件第75页  
AT90CAN128  
Alternate Functions of Port B The Port B pins with alternate functions are shown in Table 32.  
Table 32. Port B Pins Alternate Functions  
Port Pin Alternate Functions  
OC0A/OC1C (Output Compare and PWM Output A for Timer/Counter0 or Output  
Compare and PWM Output C for Timer/Counter1)  
PB7  
PB6  
PB5  
PB4  
PB3  
PB2  
PB1  
PB0  
OC1B (Output Compare and PWM Output B for Timer/Counter1)  
OC1A (Output Compare and PWM Output A for Timer/Counter1)  
OC2A (Output Compare and PWM Output A for Timer/Counter2 )  
MISO (SPI Bus Master Input/Slave Output)  
MOSI (SPI Bus Master Output/Slave Input)  
SCK (SPI Bus Serial Clock)  
SS (SPI Slave Select input)  
The alternate pin configuration is as follows:  
• OC0A/OC1C, Bit 7  
OC0A, Output Compare Match A output. The PB7 pin can serve as an external output  
for the Timer/Counter0 Output Compare A. The pin has to be configured as an output  
(DDB7 set “one”) to serve this function. The OC0A pin is also the output pin for the PWM  
mode timer function.  
OC1C, Output Compare Match C output. The PB7 pin can serve as an external output  
for the Timer/Counter1 Output Compare C. The pin has to be configured as an output  
(DDB7 set “one”) to serve this function. The OC1C pin is also the output pin for the  
PWM mode timer function.  
• OC1B, Bit 6  
OC1B, Output Compare Match B output. The PB6 pin can serve as an external output  
for the Timer/Counter1 Output Compare B. The pin has to be configured as an output  
(DDB6 set “one”) to serve this function. The OC1B pin is also the output pin for the PWM  
mode timer function.  
• OC1A, Bit 5  
OC1A, Output Compare Match A output. The PB5 pin can serve as an external output  
for the Timer/Counter1 Output Compare A. The pin has to be configured as an output  
(DDB5 set “one”) to serve this function. The OC1A pin is also the output pin for the PWM  
mode timer function.  
• OC2A, Bit 4  
OC2A, Output Compare Match A output. The PB4 pin can serve as an external output  
for the Timer/Counter2 Output Compare A. The pin has to be configured as an output  
(DDB4 set “one”) to serve this function. The OC2A pin is also the output pin for the PWM  
mode timer function.  
• MISO – Port B, Bit 3  
MISO, Master Data input, Slave Data output pin for SPI channel. When the SPI is  
enabled as a master, this pin is configured as an input regardless of the setting of  
DDB3. When the SPI is enabled as a slave, the data direction of this pin is controlled by  
71  
4250E–CAN–12/04  
 复制成功!