I haven't come across this before I'm afraid - but it feels like maybe something that would be handled by the softdevice (as it's going to have to have very fine-grained control).
If it's in the softdevice then modifying Espruino to enable it is probably pretty trivial
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I haven't come across this before I'm afraid - but it feels like maybe something that would be handled by the softdevice (as it's going to have to have very fine-grained control).
If it's in the softdevice then modifying Espruino to enable it is probably pretty trivial