/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Mems

Username:     
Password:     
             

Forum

# 1   2009-06-26 21:48:54 Mems

micronpn
Member
From: Italy
Registered: 2007-11-20
Posts: 13
Website

Mems

1. I disabled mems as input in config/interface/user input then I start my application. Apparently mems is disabled but if i rotate or shock Primer2 my active menu changes as if I press one of the 4 button keys (what button depends by the shock direction)
2. is there a way to disable mems management programmatically?
3. Is it possible to disable programmatically mems, touchscreen/buttons and joystick? May be useful to enable/disable some user input devices to debug but also if required by the application. I am realizing a portable device so mems is more a problem then a solution expecially if the user is on a car or another vehicle.

Offline

 

# 2   2009-06-27 09:15:36 Mems

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Mems

is there a way to disable mems management programmatically

You could disable the TImer2 interrupt, but it would also disable the I2C1 access for the audio chip configuration.

Is it possible to disable programmatically mems, touchscreen/buttons and joystick

You could redirecct the handlers to your application (UTIL_SetSchHandler)

Offline

 

Board footer