Skip to content

This repository contains 3 bare metal code examples that show how to use the CCL peripheral of the ATmega4809 device in different modes. It is a companion to the TB3218-Getting Started with Configurable Custom Logic (CCL).

License

microchip-pic-avr-examples/atmega4809-getting-started-with-ccl-studio

Repository files navigation

MCHP

Getting Started with Configurable Custom Logic (CCL) Examples (Microchip Studio)

This repository contains examples of bare metal source code for the Configurable Custom Logic (CCL) as described in TB3218-Getting Started with Configurable Custom Logic (CCL) document from Microchip. The repository contains a Microchip Studio Solution with multiple projects inside:

  • Logic AND Gate: This use case shows how to configure and use the CCL peripheral to implement an AND gate with three inputs (for more details, see Logic AND Gate).
  • State Decoder: This use case shows how to configure the CCL peripheral to decode the presence of the b'10110 pattern on the input pins. A circuit composed of LUT0 and LUT1 is implemented to trigger its output when the inputs are in the form of the given pattern (for more details, see State Decoder).
  • SR Latch: This use case shows how to use the CCL combinational and sequential logic to implement an SR latch. This functionality is obtained by using two adjacent LUTs connected through a sequential logic block (for more details, see SR Latch).

Related Documentation

More details and code examples on the ATMEGA4809 can be found at the following links:

Software Used

Hardware Used

About

This repository contains 3 bare metal code examples that show how to use the CCL peripheral of the ATmega4809 device in different modes. It is a companion to the TB3218-Getting Started with Configurable Custom Logic (CCL).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages