External interrupt default internal pull up
Posted: Tue Sep 26, 2017 10:37 am
Hi,
I'm implementing a falling edge triggered irq on J2[45] of the MOD5234 board using the included pin_irq.cpp file included in the nburn directory. Specifically, I've implemented BOOL SetPinIrq( int pin, int polarity, void ( *func )( void ) ) pointing to a function that simply keeps a count of the number of falling edges that have occurred.
Something I noticed was that the pin seems to float high once the pin is configured as an interrupt input. Is this nominal behavior? I'm concerned about bus contention as this will eventually be used to sense a power cycle event driven by an external device.
Thanks
I'm implementing a falling edge triggered irq on J2[45] of the MOD5234 board using the included pin_irq.cpp file included in the nburn directory. Specifically, I've implemented BOOL SetPinIrq( int pin, int polarity, void ( *func )( void ) ) pointing to a function that simply keeps a count of the number of falling edges that have occurred.
Something I noticed was that the pin seems to float high once the pin is configured as an interrupt input. Is this nominal behavior? I'm concerned about bus contention as this will eventually be used to sense a power cycle event driven by an external device.
Thanks