The request is cleared when any SDATAL/Hx register is written to. Refer to
details.
The frame counter associated to the DMA request is the same as the interrupt source, refer also to
.
•
Automated Character Mapping Data Ready (ACMDRDY): the request is set when the frame
counter associated to automated character mapping function overflows. The request is cleared
when CMDATA register is written. Refer to
•
Automated Bit Mapping Data Ready (ABMDRDY): the request is set when the frame counter
associated to automated bit mapping function overflows. The request is cleared when ISDATA
register is written. Refer to
for details.
Note:
If the CPU accesses the registers which are source of DMA request set/clear condition, the DMA
request can be lost or the DMA transfer can be corrupted, if enabled.
43.6.4. Interrupts
The SLCD has the following interrupt sources:
•
Frame Counter 0 Overflows (FC0O): Indicates that the frame counter 0 has overflowed, it has
reached its top value and wrapped to zero. Refer to
•
Frame Counter 1 Overflows (FC1O): Indicates that the frame counter 1 has overflowed, it has
reached its top value and wrapped to zero. Refer to
•
Frame Counter 2 Overflows (FC2O): Indicates that the frame counter 2 has overflowed, it has
reached its top value and wrapped to zero. Refer to
•
VLCD Ready Toggle (VLCDRT): Indicates that status of LCD Ready has changed.
•
VLCD Status Toggle (VLCDST): Indicates that relation between VLCD and chip VDD has changed.
•
Pump Run Status Toggle (PRST): Indicates that Pump Run Status has changed.
Each interrupt source has an interrupt flag associated with it. The interrupt flag in the Interrupt Flag Status
and Clear (INTFLAG) register is set when the interrupt condition occurs. Each interrupt can be individually
enabled by writing a one to the corresponding bit in the Interrupt Enable Set (INTENSET) register, and
disabled by writing a one to the corresponding bit in the Interrupt Enable Clear (INTENCLR) register. An
interrupt request is generated when the interrupt flag is set and the corresponding interrupt is enabled.
The interrupt request remains active until the interrupt flag is cleared, the interrupt is disabled, or the
SLCD is reset. See
for details on how to clear interrupt flags. All interrupt requests from the
peripheral are ORed together on system level to generate one combined interrupt request to the NVIC.
Refer to the Nested Vector Interrupt Controller for details. The user must read the INTFLAG register to
determine which interrupt condition is present.
Note:
Interrupts must be globally enabled for interrupt requests to be generated.
43.6.5. Events
The SLCD can generate the following output events:
•
Frame Counter 0 Overflow (FC0O): Indicates that the frame counter 0 has overflowed, it has
reached its top value and wrapped to zero. Refer to
•
Frame Counter 1 Overflow (FC1O): Indicates that the frame counter 1 has overflowed, it has
reached its top value and wrapped to zero. Refer to
•
Frame Counter 0 Overflow (FC2O): Indicates that the frame counter 2 has overflowed, it has
reached its top value and wrapped to zero. Refer to
Writing a '1' to an Event Output bit in the Event Control Register enables the corresponding output event.
Writing a '0' to this bit disables the corresponding output event.
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
1086