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 (142135 times)
  2. FAT32 Library (75451 times)
  3. Network Ethernet Library (59573 times)
  4. USB Device Library (49570 times)
  5. Network WiFi Library (45370 times)
  6. FT800 Library (45025 times)
  7. GSM click (31487 times)
  8. mikroSDK (30591 times)
  9. microSD click (27906 times)
  10. PID Library (27641 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

Relay 5 Click

0

Relay 5 Click is a compact add-on board with general-purpose relays that any host MCU can control. This board features three J1031C3VDC.15S, a high-current single-pole double-throw (SPDT) signal relays controlled by the PCA9538A, a low-voltage 8-bit I/O port expander from NXP Semiconductors. Highly sensitive, the J1031C3VDC.15S offers a low coil power consumption in a small, lightweight package with PC pin mounting. It comes with a dimension of 12.5x7.5x10 millimeters (LxWxH) and a 1C contact arrangement with a coil voltage of 3VDC, providing a maximum switching voltage of 125VAC/60VDC.

[Learn More]

Pollution click

5

Pollution click has high sensitivity to organic gases such as methanal, benzene, alcohol, toluene, etc. The click carries the WSP2110 VOC gas sensor with the detection range of 1~50ppm. Pollution click is designed to run on 5V power supply. It communicates with the target MCU over AN and RST pin on the mikroBUS line.

[Learn More]

Current Limit 5 Click

0

Current Limit 5 Click is a compact add-on board representing a current-limiting solution. This board features the MIC2099, a current-limit power distribution switch from Microchip Technology. This Click board™ represents a programmable current limit solution with various protection features and fault indication, which operates from a 2.5V to 5.5V input voltage range. Also, the current limit is adjustable from 100mA up to 1.05A programmed through the MCP4561 digital potentiometer. This Click board™ is suitable for applications in portable equipment and condition monitoring or power supplies, protecting them in short circuits or other overload conditions.

[Learn More]