OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i386/] [ts_386ex/] [tools/] [ts_1325_ada/] [ts1325-button.ads] - Rev 609

Go to most recent revision | Compare with Previous | Blame | View Log

with I386_Ports;
use I386_Ports;
 
package TS1325.Button is
 
   function Is_Button_Pressed return Boolean;
 
   procedure Wait_For_Button_Press;
 
private
 
   pragma Inline (Is_Button_Pressed, Wait_For_Button_Press);
 
   Poll_Interval: constant Duration := 0.3;
 
   Minimum_Press_Time: constant Duration := 0.3;
 
   Button_Mask: constant Byte := 2#0000_0001#;
 
   Button_Port: Port_Address renames P1PIN;
 
end TS1325.Button;
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.