get_line_event

Function get_line_event 

Source
pub fn get_line_event(cf: &File, er: EventRequest) -> Result<File>
Expand description

Request a line with edge detection enabled.

Detected events can be read from the returned file.

  • ‘cf’ - The open gpiochip device file.
  • er - The line event request.