Datasheet
18.16.9. PSC Module n Input Control Register
The Input Control Registers are used to configure the two PSC’s Retrigger/Fault block A & B. The two
blocks are identical, so they are configured on the same way.
Name: PMICn
Offset: 0xB8 + n*0x01 [n=0..2]
Reset: 0x0
Property:
R/W
Bit 7 6 5 4 3 2 1 0
POVENm PISELm PELEVm PFLTEm PAOCm PRFMm[2:0]
Access
Reset 0 0 0 0 0 0 0 0
Bit 7 – POVENm: PSC Module n Overlap Enable
Set this bit to deactivate the Overlap Protection. .
Bit 6 – PISELm: PSC Module n Input Select
Value Description
0 Clear this bit to select PSCINn as module n input.
1 Set this bit to select Comparator n output as module n input.
Bit 5 – PELEVm: PSC Module n Input Level Selector
Value Description
0 When this bit is clear, the low level of selected input generates the significative event for fault
function.
1 When this bit is set, the high level of selected input generates the significative event for fault
function.
Bit 4 – PFLTEm: PSC Module n Input Filter Enable
Setting this bit (to one) activates the Input Noise Canceler. When the noise canceler is activated, the input
from the input pin is filtered. The filter function requires four successive equal valued samples of the input
pin for changing its output. The Input is therefore delayed by four oscillator cycles when the noise
canceler is enabled.
Bit 3 – PAOCm: PSC Module n 0 Asynchronous Output Control
When this bit is clear, Fault input can act directly to PSC module n outputs A & B.
Bits 2:0 – PRFMm[2:0]: PSC Module n Input Mode
These three bits define the mode of operation of the PSC inputs.
Value Description
0b000 No action, PSC Input is ignored
0b001 Deactivate module n Outputs A
0b010 Deactivate module n Output B
0b011 Deactivate module n Output A & B
0b10x Deactivate all PSC Output
0b11x Halt PSC and wait for software action
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
209