Skip to content

microchip-pic-avr-examples/pic18f45k42-clc-cpu-wakeup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCHP

CLC for Complex CPU Wake-up Conditions

This example uses the CLC to create a combinational logic to wake up the CPU

Description

This example uses the Configurable Logic Cell (CLC) to create a combinational logic to wake up the CPU. The following logic is generated to achieve the wake-up condition. Therefore, only when the POT voltage level is higher than the Fix Voltage Reference (FVR), and either of the pushbuttons are pushed, the CPU will be waken by the CLC interrupt.

Result

When the wake-up condition is achieved, the LED will light up for a while and the CPU will go back to Sleep Mode afterwards.

This example is demonstrated in the livestream "Think Outside the CPU: MCU Signal Processing Without Using the Core". Check out the livestream for more information.

About

Example to use CLC peripheral for complex CPU wake-up conditions

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •