LoginSignup
0
0

More than 5 years have passed since last update.

Zybo > Chronicles blog 13 > GPIO > interrupt > I/O bankでの設定 / 個別ピンの設定 > XGpioPs_IntrEnable() / XGpioPs_IntrEnablePin()

Last updated at Posted at 2016-05-15

MicroZed Chronicles リスト http://adiuvoengineering.com/?page_id=285
@ Adam Taylor blog
https://forums.xilinx.com/t5/Xcell-Daily-Blog/More-About-MicroZed-Interrupts-Adam-Taylor-s-MicroZed-Chronicles/ba-p/398357

When it comes to configuring the GPIO to function as an interrupt source, we can configure either an entire I/O bank or an individual pin using functions provided within xgpiops.h. For example:

void XGpioPs_IntrEnable(XGpioPs *InstancePtr, u8 Bank, u32 Mask);
void XGpioPs_IntrEnablePin(XGpioPs *InstancePtr, int Pin);

namingが相変わらず悪い。XGpioPs_IntrEnable()はXGpioPs_IntrEnableBank()などであれば、ソースリーディング時にトラブルが減るのだが。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0