My ring/FIFO buffer implementation, for embedde applications. Tested on STM32L1, STM32F3, STM32F4 and PIC18F platforms.
-
Updated
Jul 26, 2023 - C
My ring/FIFO buffer implementation, for embedde applications. Tested on STM32L1, STM32F3, STM32F4 and PIC18F platforms.
This repository provides an example of MCC-generated code for GPIO read/write operations. This example shows how to read an input pin value, changed by pressing a button, and how to set an output pin value, in order to turn an LED on and off.
The PIC18F47Q10 features two MSSP modules, which can be configured in SPI mode. In this demo, the SPI is configured as slave and it is used receive data from a master device. The repository contains the MCC Generated code for the application.
The PIC18F47Q10 features two MSSP modules, which can be configured in SPI mode. In this demo, the SPI is configured as slave and it is used to exchange data. The data transfer is triggered by interrupts. The repository contains the bare metal code for the application.
MCC generated code for i2c read and write operations with interrupts.
A code example that shows how to configure the ADCC to read a single analog value.
PIC18F47Q10 PWM Basic Configuration - bare metal
This repository provides an example of MCC-generated code for using GPIO Interrupts and shows how to enable the Interrupt-on-Change (IOC). The IOC is configured to be triggered on the falling edge detected on the desired input pin.
Code example for "Getting Started with CLC on PIC18" Technical Brief : Using the CLC to create a LED Dimming Effect - Bare Metal Code
This example shows how to implement a command line interface. This way, the microcontroller can receive control commands via the EUSART. In this use case, an LED is controlled using commands sent from the MPLAB Data Visualizer.
This example shows how to use the printf function to send messages over EUSART and display charts in MPLAX Data Visualizer using Data Stream Protocol.
This repository provides a bare-metal code example for using TMR2 peripheral to trigger the ADCC to make conversions at a fixed frequency rate, that can be adjusted with the period of TMR2.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured as a counter.
This repository provides an example of MCC-generated code for a Wake-Up from Sleep procedure. This example shows how to obtain less power consumption by putting the device in the Sleep mode and waking it up using the IOC, with a button controlling the input pin value.
The PIC18F47Q10 features two MSSP modules, which can be configured in SPI mode. In this demo, the SPI is configured as master and it is used to send data to a slave device, in data mode 3. The repository contains the Foundation Services Generated code for the application.
This repository provides a bare-metal code example for using TMR0 in 8-bit Mode with clock output. A signal will be generated using TMR0 on the output RC2 pin.
MCC generated code for i2c write operation
This repository provides a bare-metal code example for using TMR4 peripheral as a Hardware Limit Timer in order to generate an interrupt and stop TMR2 that also stops the ADCC auto-conversion.
PIC18F47Q10 PWM RGB-LED Using Interrupts - bare metal code example
The PIC18F47Q10 features two MSSP modules, which can be configured in SPI mode. In this demo, the SPI is configured as master and it is used to send data to a slave device, in data mode 3. The repository contains the MCC Generated code for the application.
Add a description, image, and links to the pic18f-q10 topic page so that developers can more easily learn about it.
To associate your repository with the pic18f-q10 topic, visit your repo's landing page and select "manage topics."