commit | 1cbd2f05762d29271b8b0a67072ca8e9cf34891b | [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 | 610b362141e794756e285d2a2974e62ed5d72ac4 [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>