commit | 98090cd75cdb40b2ab94c806c338540a5716748b | [log] [tgz] |
---|---|---|
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | Sun Aug 31 18:05:32 2008 +0200 |
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | Mon Sep 01 14:21:34 2008 +0200 |
tree | 1e401a8b0b0b1b46f170d603edc8b58227faf346 | |
parent | ab0df36fc7db9dda0b786b909f653e279dfeb9cf [diff] |
avr32: Add gclk helper functions Add two helper functions for configuring and enabling generic clocks: - gclk_enable_output: Enables output on a GCLKx pin - gclk_set_rate: Configures a gclk to run at a specific rate This should eliminate any reason to go mucking about with PM registers from board code. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>