AT90PWM2B-16SE ATMEL [ATMEL Corporation], AT90PWM2B-16SE Datasheet - Page 169

no-image

AT90PWM2B-16SE

Manufacturer Part Number
AT90PWM2B-16SE
Description
8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
16.25.16 PSC 0 Input Capture Register – PICR0H and PICR0L
16.25.17 PSC 1 Input Capture Register – PICR1H and PICR1L
16.25.18 PSC 2 Input Capture Register – PICR2H and PICR2L
4317J–AVR–08/10
• Bit 7 – PCSTn : PSC Capture Software Trig bit (not implemented on AT90PWM2/3)
Set this bit to trigger off a capture of the PSC counter. When reading, if this bit is set it means
that the capture operation was triggered by PCSTn setting otherwise it means that the capture
operation was triggered by a PSC input.
The Input Capture is updated with the PSC counter value each time an event occurs on the
enabled PSC input pin (or optionally on the Analog Comparator output) if the capture function is
enabled (bit PCAEnx in PFRCnx register is set).
The Input Capture Register is 12-bit in size. To ensure that both the high and low bytes are read
simultaneously when the CPU accesses these registers, the access is performed using an 8-bit
temporary high byte register (TEMP). This temporary register is shared by all the other 16-bit or
12-bit registers.
Note for AT90PWM2/3 : This register is read only and a write to this register is not allowed.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
PRFMnx3:0
1001b
1010b
1011b
1100b
1101b
1110b
1111b
PCST0
PCST1
PCST2
R
R
R
7
0
7
0
7
0
Description
PSC Input Mode 9: Fixed Frequency Edge Retrigger PSC
Reserved (do not use)
PSC Input Mode 14: Fixed Frequency Edge Retrigger PSC and Disactivate
Output
Reserved (do not use)
R
R
R
6
0
6
0
6
0
R
R
R
5
0
5
0
5
0
R
R
R
4
0
4
0
4
0
PICR0[7:0]
PICR1[7:0]
PICR2[7:0]
R
R
R
3
0
3
0
3
0
AT90PWM2/3/2B/3B
R
R
R
2
0
2
0
2
0
PICR0[11:8]
PICR1[11:8]
PICR2[11:8]
R
R
R
1
0
1
0
1
0
R
R
R
0
0
0
0
0
0
PICR0H
PICR0L
PICR1H
PICR1L
PICR2H
PICR2L
169

Related parts for AT90PWM2B-16SE