Re: [PATCH 1/2 v2] iio: st_sensors: support active-low interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> For the accelerometer I guessed it's the same as the other sensors,
>>> but as LSM303AGR also has DRDY for the magnetometer, I was
>>> wondering if there is a bit for IHL and OD also for the magnetometer
>>> side?
>> Yes, the interrupt polarity is also present for magnetometer.
>> This is namely IEA bit in the register CTRL_REG_M (0x63), bit 2 (mask
>> 0x04). Following the bit description:
>>
>> Controls the polarity of the INT bit when an interrupt occurs.
>> Default: 0
>>
>> If IEA = 0, then INT = 0 signals an interrupt
>> If IEA = 1, then INT = 1 signals an interrupt
> OK updated the patch, sending it out.
>
> But does it also have an Open Drain bit?
>
> Yours,
> Linus Walleij
Hi Linus,

the datasheet of LSM303AGR is now available on the following link:

http://www.st.com/web/en/catalog/sense_power/FM89/SC1449/PF262168

The int pin is in high impedance and it is configured as output pin 
through the bit 0 of register 0x62.

Giuseppe.



��.n��������+%������w��{.n�����{��(��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux