TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (142095 times)
  2. FAT32 Library (75361 times)
  3. Network Ethernet Library (59524 times)
  4. USB Device Library (49549 times)
  5. Network WiFi Library (45351 times)
  6. FT800 Library (44975 times)
  7. GSM click (31485 times)
  8. mikroSDK (30539 times)
  9. microSD click (27860 times)
  10. PID Library (27631 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Interrupts on PIC 18F45K22

Rating:

5

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 8621 times

Followed by: 5 users

License: MIT license  

This example demonstrates how to setup:

- External INT0 interrupt on PORTB.0 pin

- UART RX event interrupt

- Interrupt on change on PORTB.7 - PORTB.4

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Interrupts on PIC 18F45K22" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Interrupts on PIC 18F45K22" changes.

Do you want to report abuse regarding "Interrupts on PIC 18F45K22".

  • Information
  • Comments (0)

Example Blog

Due to great interest from our users, we have made a small set of examples for demonstrating how to setup the interrupts on powerfull PIC 18F45K22.

For each language, mikroBasic, mikroC and mikroPascal, we provide three examples which demonstrate the following interrupts:

 - External INT0 interrupt on PORTB.0 pin

 - Peripheral UART Rx event interrupt

 - Interrupt on change on PORTB.7 - PORTB.0

mE Team

ALSO FROM THIS AUTHOR

Current 14 Click

0

Current 14 Click is a compact add-on board designed for precise current measurement without direct contact. This board features the BM14270, a magnetic current sensor IC from ROHM Semiconductor. It uses a coreless, non-contact magnetic impedance (MI) sensor, ensuring low power loss and accurate current detection. It communicates through a 2-wire I2C interface, offering a 14-bit digital output with a measurable magnetic range of ±280μT and sensitivity of 0.045μT/LSB. The board includes an alert interrupt pin (ALR) that indicates data readiness, streamlining real-time data acquisition for the host MCU.

[Learn More]

Current 7 Click

0

Current 7 Click is a compact add-on board providing a precise and accurate current sensing solution. This board features the INA282, a wide common-mode range, bidirectional, high-accuracy current shunt monitor from Texas Instruments. The INA282 represents a voltage output current shunt monitor that can sense drops across shunts at common-mode voltages from –14 V to +80 V, independent of the supply voltage, which operates in a range from 2.7V up to 18V supply. The zero-drift topology enables high-precision measurements with maximum input offset voltages as low as 70μV. Also, the user is allowed to process the output signal in analog or digital form.

[Learn More]

MCP2003B Click library

3

MCP2003B click is a mikroBUS add-on board with a bi-directional LIN transceiver. The click has three onboard screw terminals for connecting the transceiver to a LIN network (three wires: LIN, VBB and GND). MCP2003B click communicates with the target board MCU through the mikroBUS UART interface (RXD, TXD).

[Learn More]