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 a bare-metal code example for using TMR2 as 10kHz clock for SPI, configured as host with 2 clients (RC6 pin ->SS1 and RC7 pin ->SS2).
MCC generated code for i2c write operation
MCC generated code for i2c read and write operations with interrupts.
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.
This repository provides a MCC-generated code example for using TMR0 in 8-bit Mode with clock output. A signal will be generated using TMR0 on the output RC2 pin.
PIC18F47Q10 PWM RGB-LED Using Interrupts - bare metal code example
The PIC18F47Q10 provides multiple PORT modules. In this demo, a PORT pin is configured as input and connected to a button. The Interrupt-on-Change is enabled on the negative edge. Another pin is used as an output and connected to an LED.
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.
This repository provides a MCC generated code example that uses the TMR2 as 10kHz clock for SPI, configured as host with 2 clients (RC6 pin ->SS1 and RC7 pin ->SS2).
This repository provides a MCC generated code example that uses TMR4 peripheral in One-Shot to stop TMR2 if an external pin is pulled to GND for more than a desired period.
This repository provides a bare-metal code example for using TMR4 peripheral in One-Shot to stop TMR2 if an external pin is pulled to GND for more than a desired period.
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.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured as a counter.
This repository provides a MCC generated code example that uses TMR4 peripheral as a Hardware Limit Timer in order to generate an interrupt and stop TMR2 that also stops the ADCC auto-conversion.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured as a counter.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse mode.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse and toggle combined mode.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse and toggle combined mode.
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse mode.
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."