DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT90PWM2B-16SU View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
AT90PWM2B-16SU Datasheet PDF : 365 Pages
First Prev 61 62 63 64 65 66 67 68 69 70 Next Last
AT90PWM2/3/2B/3B
11.3.1
11.3.2
MCU Control Register – MCUCR
Bit
7
6
SPIPS
Read/Write
R/W
R
Initial Value
0
0
5
4
3
2
1
0
PUD
IVSEL
IVCE
MCUCR
R
R/W
R
R
R/W
R/W
0
0
0
0
0
0
• Bit 4 – PUD: Pull-up Disable
When this bit is written to one, the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See “Con-
figuring the Pin” on page 63 for more details about this feature.
Alternate Functions of Port B
The Port B pins with alternate functions are shown in Table 11-3.
Table 11-3. Port B Pins Alternate Functions
Port Pin
PB7
Alternate Functions
PSCOUT01 output
ADC4 (Analog Input Channel 4)
SCK (SPI Bus Serial Clock)
ADC7 (Analog Input Channel 7)
PB6
ICP1B (Timer 1 input capture alternate input)
PSCOUT11 output (see note 4)
ADC6 (Analog Input Channel 6)
PB5
INT2
PB4
AMP0+ (Analog Differential Amplifier 0 Input Channel )
PB3 AMP0- (Analog Differential Amplifier 0 Input Channel )
ADC5 (Analog Input Channel5 )
PB2
INT1
MOSI (SPI Master Out Slave In)
PB1
PSCOUT21 output
MISO (SPI Master In Slave Out)
PB0
PSCOUT20 output
The alternate pin configuration is as follows:
• PSCOUT01/ADC4/SCK – Bit 7
PSCOUT01: Output 1 of PSC 0.
ADC4, Analog to Digital Converter, input channel 4.
SCK: Master Clock output, Slave Clock input pin for SPI channel. When the SPI is enabled as a
slave, this pin is configured as an input regardless of the setting of DDB7. When the SPI is
enabled as a master, the data direction of this pin is controlled by DDB7. When the pin is forced
to be an input, the pull-up can still be controlled by the PORTB7 bit.
• ADC7/ICP1B/PSCOUT11 – Bit 6
ADC7, Analog to Digital Converter, input channel 7.
ICP1B, Input Capture Pin: The PB6 pin can act as an Input Capture Pin for Timer/Counter1.
PSCOUT11: Output 1 of PSC 1.
69
4317K–AVR–03/2013

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]